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 PalHexToNumber( SalString sHexValue )
The PalHexToNumber method converts a string value from hexadecimal to decimal number system and return it as a number.
Name | Description |
---|---|
SalString sHexValue | Hexadecimal value. The string value using the hexadecimal number system that should be converted. |
The value using decimal number system.
Set nDecimal = PalHexToNumber( '0x07B' ) ! nDecimal = 123 Set nDecimal = PalHexToNumber( 'FFFA' ) ! nDecimal = 65530nLower = Int.PalHexToNumber("0x07B"); //nLower is 123
nLower = Int.PalHexToNumber("FFFA"); //nLower is 65530