diff options
author | Benoit Giannangeli <giann008@gmail.com> | 2017-03-23 15:46:09 +0100 |
---|---|---|
committer | Benoit Giannangeli <giann008@gmail.com> | 2017-03-24 07:05:47 +0100 |
commit | d3530bdc202419c85ec79fdb01197112cab8a788 (patch) | |
tree | f83dd6abe1a539a5085320d071ee4934950fb87b /src/luaconf.js | |
parent | 4dc92d3e554278192c2979dd3d81942ca24f15b6 (diff) | |
download | fengari-d3530bdc202419c85ec79fdb01197112cab8a788.tar.gz fengari-d3530bdc202419c85ec79fdb01197112cab8a788.tar.bz2 fengari-d3530bdc202419c85ec79fdb01197112cab8a788.zip |
strings.lua
Diffstat (limited to 'src/luaconf.js')
-rw-r--r-- | src/luaconf.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/luaconf.js b/src/luaconf.js index fc96224..a965954 100644 --- a/src/luaconf.js +++ b/src/luaconf.js @@ -17,7 +17,7 @@ const LUAI_MAXSTACK = 1000000; const LUA_IDSIZE = 60; const lua_numbertointeger = function(n) { - return n|0; + return n; }; const LUA_INTEGER_FRMLEN = ""; @@ -37,4 +37,4 @@ module.exports.LUA_INTEGER_FRMLEN = LUA_INTEGER_FRMLEN; module.exports.LUA_NUMBER_FMT = LUA_NUMBER_FMT; module.exports.LUA_NUMBER_FRMLEN = LUA_NUMBER_FRMLEN; module.exports.lua_getlocaledecpoint = lua_getlocaledecpoint; -module.exports.lua_numbertointeger = lua_numbertointeger;
\ No newline at end of file +module.exports.lua_numbertointeger = lua_numbertointeger; |