string to integer conversion module
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
rockspecs
src
README.md
tointeger.lua

README.md

lua-tointeger

string to integer conversion module.


Installation

$ luarocks install tointeger --from=http://mah0x211.github.io/rocks/

Usage

local tointeger = require('tointeger')

print( tointeger('123') == 123 )
print( tointeger('-123') == -123 )