Updating docs for formatNumber

Added out-of-range option error. Updated formatNumber documentation to
clarify min/max fraction digits.