Module / v2.0.0-beta.7

@typed/fx/RefBigDecimal

20 unique exports available through this public import path, including their members and aliases.

import * as RefBigDecimal from "@typed/fx/RefBigDecimal";

Arithmetic queries

  • abs

    variable

    Get the absolute value of the current state of a RefBigDecimal.

  • add

    variable

    Add a BigDecimal to the current state of a RefBigDecimal.

  • ceil

    variable

    Calculate the ceiling of the current state of a RefBigDecimal.

  • divide

    variable

    Divide the current state of a RefBigDecimal by a BigDecimal.

  • equals

    variable

    Check if the current state of a RefBigDecimal equals a BigDecimal.

  • floor

    variable

    Calculate the floor of the current state of a RefBigDecimal.

  • multiply

    variable

    Multiply the current state of a RefBigDecimal by a BigDecimal.

  • negate

    variable

    Negate the current state of a RefBigDecimal.

  • round

    variable

    Round the current state of a RefBigDecimal.

  • subtract

    variable

    Subtract a BigDecimal from the current state of a RefBigDecimal.

  • truncate

    variable

    Truncate the current state of a RefBigDecimal.

Constructors

  • make

    function

    Creates a new RefBigDecimal from a BigDecimal, Effect, or Fx.

Derived queries

  • sign

    variable

    Get the sign of the current state of a RefBigDecimal.

State models

  • RefBigDecimal

    interface

    A RefBigDecimal is a RefSubject specialized over a BigDecimal value.

State predicates

  • isGreaterThan

    variable

    Check if the current state of a RefBigDecimal is greater than a BigDecimal.

  • isInteger

    variable

    Check if the current state of a RefBigDecimal is an integer.

  • isLessThan

    variable

    Check if the current state of a RefBigDecimal is less than a BigDecimal.

  • isNegative

    variable

    Check if the current state of a RefBigDecimal is negative.

  • isPositive

    variable

    Check if the current state of a RefBigDecimal is positive.

  • isZero

    variable

    Check if the current state of a RefBigDecimal is zero.