1.0.0 • Published 10 years ago
next-lang-decimal v1.0.0
#next-lang-decimal ##description:
- A decimal lib based on next toolkit.
##usage:
- Get Decimal util:
var Decimal=nx.lang.Decimal;
- Add:
Decimal.add(0.1,0.2,0.3);
- Sub:
Decimal.sub(0.3,0.1);
- mul:
Decimal.mul(0.3,0.1,0.2);
- div:
Decimal.mul(0.3,0.1);
##test:
- cd next-lang-decimal
- mocha
##resource:
1.0.0
10 years ago