Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- NetLib for Clipper, Version 6.0 - ch_strh( <ndecimal>, <nlength> ) http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
CH_STRH( <nDecimal>, <nLength>  )


Parameters

<nDecimal>
Decimal number to convert.

<nLength>
Length of the resulting hexadecimal string.


Returns

Hexadecimal string padded with leading zeros to the specified length.


Description

Digits to the right of the decimal point in <nDecimal>, if any, are 
ignored.


Example

? CH_STRH(266, 4)
010A



See Also: CH_HEXFMBIN() CH_HEXTOBIN() CH_VALH()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson