Search results

36 packages found

A package for rounding numbers to an exact, minimum, or maximum number of decimal places.

published 0.0.0 a month ago
M
Q
P

Round a double-precision floating-point number to the nearest multiple of 10^n.

published 0.2.1 2 months 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.4 5 years ago
M
Q
P

toFixed with Math.round,fixed the bug of original toFixed function

published 1.0.3 6 years ago
M
Q
P

js toFixed

published 1.0.2 2 years ago
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

Round a numeric value to the nearest multiple of 10^n toward positive infinity.

published 0.2.1 2 months ago
M
Q
P

Round a double-precision floating-point number to the nearest multiple of 10^n toward negative infinity.

published 0.2.1 2 months ago
M
Q
P

Round a numeric value to the nearest multiple of 10^n toward zero.

published 0.2.1 2 months ago
M
Q
P

Round a numeric value to the nearest multiple of b^n on a linear scale.

published 0.2.1 2 months ago
M
Q
P

Round each component of a double-precision complex floating-point number to the nearest multiple of 10^n.

published 0.2.1 2 months ago
M
Q
P

Round a numeric value to the nearest multiple of b^n toward zero.

published 0.2.1 2 months ago
M
Q
P

Round each component of a double-precision complex floating-point number to the nearest multiple of 10^n toward positive infinity.

published 0.2.1 2 months ago
M
Q
P

Round each component of a double-precision complex floating-point number to the nearest multiple of 10^n toward negative infinity.

published 0.2.1 2 months 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 2 years ago
M
Q
P

修正toFixed方法保留小数位的错误 To fix the error of the toFixed method not preserving decimal places

published 1.0.2 6 months ago
M
Q
P

Leading zeroes to a number

published 2.1.2 3 years ago
M
Q
P

Fix two decimal cases in currency value without worrying about wrong math rounds.

published 1.0.0 2 years ago
M
Q
P

toFixed rounding fix polyfill

published 1.0.1 10 months ago
M
Q
P

工具类函数库

published 1.0.1 9 months ago
M
Q
P