Search results

37 packages found

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

published 0.2.2 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.2 2 months ago
M
Q
P

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

published 0.2.2 2 months ago
M
Q
P

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

published 0.3.0 2 months ago
M
Q
P

Similar to .toFixed(), but can be ceil, floor or round (default)

published 1.0.2 2 days ago
M
Q
P

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

published 0.3.0 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.2 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.2 2 months ago
M
Q
P

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

published 0.3.0 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.2 2 months ago
M
Q
P

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

published 0.0.0 6 months ago
M
Q
P

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

published 1.0.2 a year 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 6 years ago
M
Q
P

A useful number utils library

published 1.3.6 a year ago
M
Q
P

Converts a number into a string, keeping a specified number of decimals.

published 1.0.0 8 years ago
M
Q
P

Math.round with fixed, formats a number using fixed-point notation and returns a number.

published 1.0.2 6 years ago
M
Q
P

number的工具箱:round、toFixed纠正;负数千分符,数字转中文

published 0.0.6 a year ago
M
Q
P

Math.floor with fixed, formats a number using fixed-point notation and returns a number.

published 1.0.0 7 years ago
M
Q
P

Math.ceil with fixed, formats a number using fixed-point notation and returns a number.

published 1.0.0 7 years ago
M
Q
P

Converts a number into a string and returns the number by keeping a specified number of decimal after rounding to the nearest.

published 1.0.0 7 years ago
M
Q
P