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.
SalString PalNumberToHex( SalNumber nDecValue )
The PalNumberToHex method converts a number value from decimal to hexadecimal number system and return it as a string.
Name | Description |
---|---|
SalNumber Decimal number | The value using hexadecimal number system. |
The value using hexadecimal number system.
Set sHex = PalNumberToHex( 123 ) ! sHex = '7B' Set sHex = PalNumberToHex( 65530 ) ! sHex = 'FFFA'sHex = Int.PalNumberToHex(123);
//SHex = "7B"
sHex = Int.PalNumberToHex(65530);
//SHex = "FFFA"