Page 1 of 1

Number to hexStr()

Posted: Fri May 01, 2020 1:15 am
by sinisrus
Helo,

If i use Function HexStr(0) for convert number, HexStr() return => $0
how to get => $00 ?

Thank you

Re: Number to hexStr()

Posted: Fri May 01, 2020 8:22 am
by plouf
FormatStr("$%.2x",HexStr(Value))

Re: Number to hexStr()

Posted: Fri May 01, 2020 5:17 pm
by PEB
If you use FormatStr() then you don't need to use HexStr() at all.

Just this:
FormatStr("$%.2x",Value)

Re: Number to hexStr()

Posted: Sat May 02, 2020 10:17 am
by sinisrus
Thank you