Note: This page includes content based on the F1 documentation for Centura development. It may be partially converted to support APF development, but should be regarded to be of uncertain actuality. It is provided as is. Eventually, it should be replaced by documentation available from within Visual Studio.
SalNumber PalStrToNumber(SalString sValue)
The PalStrToNumber method converts a string to a numerical value. This method is used to convert numerical values stored in '.' and the regional setting can be of ','
Name | Description |
---|---|
SalString sValue | String to be converted |
The return value is the converted value including the current decimal separator (if any) fetched from the regional settings..
Set nTemp = PalStrToNumber( '100.1' ) ! nTemp is now 100,1nReturn = Int.PalStrToNumber("100.1");
//nTemp is now 100.1