Decimal.this

Constructs a number from a boolean sign, an integer coefficient and an optional integer exponent. The sign of the number is the value of the sign parameter regardless of the sign of the coefficient. The intial precision of the number is deduced from the number of decimal digits in the coefficient.

  1. this(bool value)
  2. this(string str)
  3. this(U r)
  4. this(U coefficient)
  5. this(U coefficient)
  6. this(D that)
  7. this(U coefficient, int exponent)
    struct Decimal(immutable Context _context = DefaultContext)
    this
    (
    U
    )
    if (
    is(U == BigInt) ||
    isIntegral!U
    )
  8. this(U coefficient, int exponent, bool sign)

Meta