MCPcopy Create free account
hub / github.com/ejoy/ejoy2d / tointeger_aux

Function tointeger_aux

lua/lvm.c:91–114  ·  view source on GitHub ↗

** try to convert a value to an integer, rounding according to 'mode': ** mode == 0: accepts only integral values ** mode == 1: takes the floor of the number ** mode == 2: takes the ceil of the number */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

luaV_tointeger_Function · 0.85
forlimitFunction · 0.85

Calls 1

luaO_str2numFunction · 0.85

Tested by

no test coverage detected