fn: lua_pushnumber
[contents]
f++ :
n++ :
Contents
Syntax
The syntax for
lua_pushnumber(number)
@lua_pushnumber(number)
Description
The
f++ example
Example of
- lua_pushnumber(14.8)
- lua_setglobal("x")
- lua
- {
- print("x: ", x)
- }
n++ example
Example of
- @lua_pushnumber(14.8)
- @lua_setglobal("x")
- @lua
- {
- print("x: ", x)
- }