Math387::StrToVal Function

double StrToVal(const DewString &Source);

Converts string to a value.

#NameTypeDescription
1Sourceconst DewString &

Returns: original string, transformed to double value.

Remarks:

This routine is the same as StrToFloat except that it can also handle NAN and INF values. It will work with both ',' and '.' as decimal separator, but the code will run 2x faster for the currently default decimal separator. StrToVal is used also by Math387::StrToCplx function.

Declared in Dew::Math::Units::Math387 · Dew.Math/Units.Math387.h · Cross-compiler