Decimal.toString

Writes the Decimal value formatted according to the given NumericSpec to the output range W, using character type C.

  1. void toString(W w, NumericSpec spec)
    struct Decimal(uint size64)
    const scope
    void
    toString
    (
    C = char
    W
    )
    if (
    isSomeChar!C &&
    isMutable!C
    )
    if (
    size64 &&
    size64 <= ushort.max
    )
  2. immutable(C)[] toString(NumericSpec spec)