fn: lua_tonumber 
					
								[contents]
				
								
				f++ :   
				
				n++ :   
								
				
								
				
								
				
								
				
								
							
						Contents
Syntax
									The syntax for 
lua_tonumber(int)
@lua_tonumber(int)
Description
									The 
f++ example
									Example of 
lua
{
	x = 10
}
lua_getglobal("x")
console(lua_tonumber(1))
				n++ example
									Example of 
@lua
{
	x = 10
}
@lua_getglobal("x")
@console(@lua_tonumber(1))
				
![[ports] (FreeBSD) Get it from the FreeBSD [ports]](../../images/freebsd.webp)
