PDA

View Full Version : Number Conversion


lordtariel
11-16-2004, 09:07 PM
Is there a function in MX04 that converts an integer to a binary? Is there a function that converts an integer to its hex value?

Thanks ahead

Xeef
11-16-2004, 10:08 PM
hi and welcome to As.Org

a=255
trace(a.toString(16))
//16 is hex 2 is binary which you definetly now if you wana work whit them :)

to my self :
Grrr last time i was searching for this i din't find it no i take a second look an here is it :)