25 packages found

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

    published 0.0.5 a month ago
    M
    Q
    P

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

    published 0.0.5 a month ago
    M
    Q
    P

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

    published 0.0.5 a month ago
    M
    Q
    P

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

    published 0.0.5 a month ago
    M
    Q
    P

    Round a complex number to the nearest multiple of 10^n toward positive infinity.

    published 0.0.5 a month ago
    M
    Q
    P

    Round a complex number to the nearest multiple of 10^n.

    published 0.0.5 a month ago
    M
    Q
    P

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

    published 0.0.5 a month ago
    M
    Q
    P

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

    published 0.0.5 a month ago
    M
    Q
    P

    Round a complex number to the nearest multiple of 10^n toward negative infinity.

    published 0.0.5 a month ago
    M
    Q
    P

    Leading zeroes to a number

    published 2.1.2 4 months ago
    M
    Q
    P

    A nice number utils

    published 1.3.0 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 3 years ago
    M
    Q
    P

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

    published 1.0.3 3 years ago
    M
    Q
    P

    Turns a number to a fixed string with a metric or abbreviation suffix

    published 1.0.1 4 years ago
    M
    Q
    P

    一个简单好用的、精度不丢失的基本运算库

    published 0.0.6 2 months ago
    M
    Q
    P

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

    published 1.0.0 5 years ago
    M
    Q
    P

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

    published 1.0.2 3 years ago
    M
    Q
    P

    A small javascript library to convert value to fixed decimal points if necessary

    published 1.0.3 a year ago
    M
    Q
    P

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

    published 1.0.0 4 years ago
    M
    Q
    P

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

    published 1.0.0 4 years ago
    M
    Q
    P