ValD()

Syntax

Result.d = ValD(String$)
Description
Converts a string into a double value. The string must be a double in decimal format. The number parsing stops at the first non numeric character.

Parameters

String$ The string to convert.

Return value

The double value of the string.

Remarks

Strings holding an integer can also be converted with Val(), and 32-bit floats with ValF() (with less accuracy than ValD()).

Example

  Debug ValD("10.000024") ; will display 10.000024.

See Also

ValF(), Val(), Str(), StrF(), StrD()

Supported OS

All

<- Val() - String Index - ValF() ->