exactnumber
    Preparing search index...

    Enumeration RoundingMode

    Index

    Enumeration Members

    AWAY_FROM_ZERO: 201004

    Rounds away from zero

    NEAREST_AWAY_FROM_ZERO: 201012

    Rounds to nearest number, with ties rounded away from zero.

    NEAREST_TO_EVEN: 201010

    Rounds to nearest number, with ties rounded towards the nearest even number.

    NEAREST_TO_NEGATIVE: 201009

    Rounds to nearest number, with ties rounded towards -Infinity.

    NEAREST_TO_POSITIVE: 201008

    Rounds to nearest number, with ties rounded towards +Infinity. Similar to Math.round().

    NEAREST_TO_ZERO: 201011

    Rounds to nearest number, with ties rounded towards zero.

    TO_NEGATIVE: 201002

    Rounds towards -Infinity. Similar to Math.floor().

    TO_POSITIVE: 201001

    Rounds towards +Infinity. Similar to Math.ceil().

    TO_ZERO: 201003

    Rounds towards zero. Similar to Math.trunc().