Search results
37 packages found
toFixed rounding fix polyfill
published 1.0.1 a year ago
M
Q
P
M
Q
P
toFixed with Math.round,fixed the bug of original toFixed function
published 1.0.3 6 years ago
M
Q
P
M
Q
P
Turns a number to a fixed string with a metric or abbreviation suffix
published 1.0.1 7 years ago
M
Q
P
M
Q
P
由于js中进行小数计算会有精度问题,此方法用于金额计算(保留小数点后两位小数,并进行四舍五入)
published 1.0.1 6 years ago
M
Q
P
一个专注于易用性的、精度准确的基本运算库
published 1.1.1 2 years ago
M
Q
P
A small javascript library to convert value to fixed decimal points if necessary
published 1.0.3 4 years ago
M
Q
P
修复toFixed方法精度的问题 ( 10.215 => toFixed(2) => 10.21 ),Math.Round问题
published 1.0.3 2 years ago
M
Q
P
This library can solve one well known problem with JavaScript Number arithmetic imprecise, when, for example, 3.3 * 3 becomes 9.899999999999999, ugly.
published 1.0.1 3 years ago
M
Q
P
Use it when you want to perform integer and real number
published 1.0.3 3 years ago
M
Q
P
Pad a string (prefix or suffix)
published 1.0.2 5 years ago
M
Q
P
M
Q
P
M
Q
P
Fix two decimal cases in currency value without worrying about wrong math rounds.
published 1.0.0 3 years ago
M
Q
P
M
Q
P