Bitbybit Docs
    Preparing search index...

    Class FractionTextDto (Inputs.Math)

    A number and the denominator to write it to, for math.toFractionText, which gives it as a whole number and a reduced fraction such as 1-1/4.

    Index

    Constructors

    Properties

    Constructors

    • Parameters

      • Optionalnumber: number
      • Optionaldenominator: number

      Returns FractionTextDto

    Properties

    number?: number

    The number to write, such as a length in inches.

    1.25
    

    -Infinity

    Infinity

    0.0625

    denominator?: number

    The finest fraction to round to: a whole number such as 64 for sixty-fourths of an inch.

    64
    

    1

    Infinity

    1