| bit.tonumber |
|---|
| Lua function bit.tonumber Summary Convert a string into a number Prototype n = bit.tonumber (s, base)Description This takes a string, and converts it into a number. Unlike the standard Lua tonumber function this function will handle up to a 52-bit number (the default Lua number conversion will only go to 32-bit numbers).See Also ... Topics
Lua base functions
Lua bc (big number) functions
Lua bit manipulation functions
Lua coroutine functions
Lua debug functions
Lua io functions
Lua math functions
Lua os functions
Lua package functions
Lua PCRE regular expression functions
Lua script extensions
Lua string functions
Lua table functions
Lua utilities
ScriptingLua functions
bit.ashr (Shifts a number right, preserving sign)
bit.band (Bitwise 'and')
bit.bor (Bitwise 'or')
bit.mod (Bitwise 'modulus' (remainder after integer divide))
bit.neg (Bitwise negate (ones complement))
bit.shl (Shifts a number left)
bit.shr (Shifts a number right)
bit.tostring (Convert a number into a string)
bit.xor (Bitwise 'exclusive or')(Help topic: lua=bit.tonumber)
Documentation contents page |