Decimal.toString

Converts current value to string in floating point or scientific notation,which one is shorter.

  1. void toString(void delegate(const(C)[]) sink, FormatSpec!C fmt)
  2. void toString(void delegate(const(C)[]) sink)
  3. string toString()
    struct Decimal(int bits)
    version(!D_BetterC)
    const
    @IEEECompliant("convertToDecimalCharacter", 22)
    string
    toString
    ()
    if (
    bits == 32 ||
    bits == 64
    ||
    bits == 128
    )
  4. string toString(FormatSpec!C fmt)
  5. string toString(const(C)[] fmt)

Meta