Same is true in Lua (only one number type, which is double by default), though you have the option to compile it to use a different number type instead.
http://www.lua.org/pil/2.3.html
In particular, "long double" on x86 can represent 64 bit integers without loss as well as being floating-point (64 bit mantissa, 15 bit exponent, 1 bit sign). Downside is that it's quite large: 16 bytes.