ValF()

Syntax

Result.f = ValF(String$)
Description
Transform a string into a float value. The string must be a float in decimal format.

Note: Strings containing an integer can also be converted with Val() and 64 bit floats with ValD() (with more accuracy than ValF()).

Example:


  Debug ValF("10.24") ; Will display 10.24.

Supported OS

All

<- ValD() - String Index