You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rather than needing to always use the { fromCents: true } option, it would be useful to also allow an object as the first argument which lets you enter the dollars and cents components independently.
Rather than needing to always use the
{ fromCents: true }
option, it would be useful to also allow an object as the first argument which lets you enter the dollars and cents components independently.This would be similar to many date libraries allow you to build a date from discreet year, month, day, etc. components.
Possible edge case is if floats are used for
dollars
component. Perhaps it could only allow floored integers?The text was updated successfully, but these errors were encountered: