https://github.com/CritteRo/scalePhone/blob/850b61b711ce5a679cc8cdb8595eecb1b603bc4a/client/apps/cl_scaleform_functions.lua#L22 [math.type](https://www.lua.org/manual/5.3/manual.html#pdf-math.type) may be more helpful here.