StringToNumber

StringToNumber converts a string to a number, using the decimal separator for the current user locale. If the input string is an invalid number string, the value returned will be an invalid floating point value. In Microsoft Windows, the decimal separator is a Regional Options setting.

This function is valid in TM1® TurboIntegrator processes only.

Syntax

StringToNumber(String);

Argument

Description

String

The string you want to convert to a number.

Example

nRET = StringToNumber('123.45');