FormattedFloating

Wrapper to format floating point numbers using C's library.

  1. struct FormattedFloating(T)
    struct FormattedFloating (
    T
    ) if (
    is(T == float) ||
    is(T == double)
    ||
    is(T == real)
    ) {}
  2. FormattedFloating!T withFormat(T value, FormatSpec spec)

Members

Functions

toString
void toString(W w)

Variables

spec
FormatSpec spec;
value
T value;

Meta