The hexadecimal value of 0x40130020
is a float value of 2.296883
, using this site http://gregstoll.dyndns.org/~gregstoll/floattohex/. How can this be implemented to Lua? If I use:
x = 0x40130020
print(x)
then the result 1074987040
is printed of course... What should I do? Thanks