parse

Convert a formatted string of digits to a floating-point number. Good for general use, but use David Gay's dtoa package if serious rounding adjustments should be applied.

  1. NumType parse(const(char[]) src, size_t* ate)
  2. NumType parse(const(wchar[]) src, size_t* ate)
  3. NumType parse(const(dchar[]) src, size_t* ate)
  4. NumType parse(const(T[]) src, size_t* ate)
    version(!float_dtoa)
    NumType
    parse
    (
    T
    )
    (
    const(T[]) src
    ,
    size_t* ate = null
    )

Meta