Search
@stdlib/math-base-special-roundn
Round a double-precision floating-point number to the nearest multiple of 10^n.
v0.2.2 URL:
https://unpkg.com/@stdlib/math-base-special-roundn@0.2.2/lib/index.js
Open
Browse Files
stdlib
stdmath
mathematics
math
math.round
round
roundn
fix
tofixed
integer
nearest
number
tofixed
Converts a number into a string, keeping a specified number of decimals.
v1.0.0 URL:
https://unpkg.com/tofixed@1.0.0/index.js
Open
Browse Files
tofixed
fixed
precision
number
convert
converter
to-fixed-for-real
Fix two decimal cases in currency value without worrying about wrong math rounds.
v1.0.3 URL:
https://unpkg.com/to-fixed-for-real@1.0.3/index.js
Open
Browse Files
tofixed
fixed
math
currency
tn-numpad
Leading zeroes to a number
v2.1.2 URL:
https://unpkg.com/tn-numpad@2.1.2/dist/index.cjs.js
Open
Browse Files
tofixed
number
padding
numpad
calc-easy
一个专注于易用性的、精度准确的基本运算库
v1.1.1 URL:
https://unpkg.com/calc-easy@1.1.1/dist/calc-easy.min.js
Open
Browse Files
float
arithmetic
tofixed
calc
decimal
bignumber
add
plus
sub
minus
mul
divide
number
math
数学
运算
计算
算数
大数
表达式
四则运算
四舍五入
精度
精度丢失
浮点数