Hex numbers

Blitz3D Forums/Blitz3D Programming/Hex numbers

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

A hex number is just a number in base-16. Blitz can do the conversion to base-10 for you. e.g.:
Print $ff ; 255


...or are you talking about converting from a string representation of a hex number to an integer? I'm not sure if there's a Blitz function for converting a hex number as a string to a decimal integer. But you probably don't need that since you say you already have the hex number.