Number to hexStr()

Find quick help here to get you started with Hollywood
Post Reply
sinisrus
Posts: 296
Joined: Tue Apr 21, 2015 5:43 pm

Number to hexStr()

Post by sinisrus »

Helo,

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

Thank you

plouf
Posts: 136
Joined: Sun Feb 04, 2018 11:51 pm
Location: Athens,Greece

Re: Number to hexStr()

Post by plouf »

FormatStr("$%.2x",HexStr(Value))
Christos

PEB
Posts: 535
Joined: Sun Feb 21, 2010 1:28 am

Re: Number to hexStr()

Post by PEB »

If you use FormatStr() then you don't need to use HexStr() at all.

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

sinisrus
Posts: 296
Joined: Tue Apr 21, 2015 5:43 pm

Re: Number to hexStr()

Post by sinisrus »

Thank you

Post Reply