Convenient, safe money calculations in JS
Create JS money objects from strings, integers or floats
try to convert units of currency (think dollars) into centesimal values
Convert USD Dollars (formatted string, non-formatted, numerical value) to USD Cents (numerical).
Mask cents in formatted price.
Handle money with cents input when it must start filling from decimal part.
Display cents as a two-digit number for currency
A stupid simple money calculation library that deals in cents.
AMD/CommonJS Stampit factory for creating models to handle USD logic
powered by npms.io 🚀