Sunday, April 23, 2017

Crafting web and mobile software based in Holland, Michigan



Ruby’s built-in rounding methods are great for the basic cases like rounding to a whole number or rounding to a certain decimal place. But what happens when you need to round a time? Or you need to round to the nearest 5? I need to do this sort of thing on occasion.

No comments:

How can you work with a JSON value if you know nothing about it?

I have talked about the difficulty of typing certain JSON values coming from some APIs. The JSON is just very complicated. When I do that,...