When working with float values, it’s good to get familiar with how Ruby deals with them. When using division, what you can end up with is a Float, that is NaN or Infinity
Luckily you can use some helper functions to determine what kind of number it is!
As well as working with invalid numbers
Pay attention to the subtle differences between
infinite? returning 1,-1, nil and
finite? returning true/false.
Infinity is also quite useful for representing numbers without a bounds.
Great for that ‘Ultra Mega Robo Deathstar’ hosting plan you offer.