Skip to main content
Skip table of contents

f$StoF (f$TextZuZahl)


f$StoF (f$TextZuZahl)

Convert a string to a numerical value.

The integer or decimal parameter type comes out of the parameter receiving the function result.

If a number is entered instead of text, it does not lead to a syntax error and the number is returned as the result.

Syntax:

Number = f$StoF( Text )

 

Argument

Type

Meaning

 

Text

String

Number as string

Result:

Decimal

Numeric value of the text

Example:

Number = f$StoF( '3.14' ) → Number = 3.14 (number of decimal type)

Number = f$StoF( '3.14' ) → Number = 3 (number of integer type)

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.