bdegg

noob literals question

Discussion created by bdegg on Mar 20, 2009
Latest reply on Mar 20, 2009 by bdegg

Hi everyone,

I'm learning IL, and the only thing I can't really figure out is the format of the literals.My question is this:

How do I convert numbers (float or int) into the 0x00000... format that literals use, and how does this change depending on the type? For instance, I wouldn't expect the code for (1) in float would be the same for (1) in int.

 

Thanks for your help

Outcomes