Parses a character range to a floating point number.
a floating point type
the lvalue of the range to parse
A floating point number of type Target
A ConvException if source is empty, if no number could be parsed, or if an overflow occurred.
import std.math : approxEqual; auto str = "123.456"; assert(parse!double(str).approxEqual(123.456));
See Implementation
Parses a character range to a floating point number.