MCPcopy Create free account
hub / github.com/DCurrent/openbor / math_set_truncated_integer

Function math_set_truncated_integer

engine/source/openborscript/math.c:72–107  ·  view source on GitHub ↗

* Caskey, Damon V. * 2026-06-08 * * Set an integer script variant from a truncated * decimal value. Preserves legacy VT_INTEGER * results when possible and promotes to 64-bit * integer carriers when needed. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

math_floorFunction · 0.85
math_ceilFunction · 0.85
math_truncFunction · 0.85

Calls 1

ScriptVariant_ChangeTypeFunction · 0.85

Tested by

no test coverage detected