LUA_NUMBER(3) | Library Functions Manual | LUA_NUMBER(3) |
lua_Number
— type
of numbers in Lua
#include
<lua.h>
typedef double lua_Number;
The type of numbers in Lua. By default, it is double, but that can
be changed in
<luaconf.h>
.
Through the configuration file you can change Lua to operate with another type for numbers (e.g., float or long).
Roberto Ierusalimschy, Luiz Henrique de Figueiredo, and Waldemar Celes, Lua 5.1 Reference Manual.
The lua_Number manual page is based on Lua Reference Manual 5.1 and was created by Sergey Bronnikov.
July 15, 2022 | Debian |