{"hash":"0x11E019C8F43ACC8A","ns":"BUILTIN","name":"CEIL","slug":"CEIL","official":true,"named":true,"luaName":"Ceil","game":"rdr3","apiset":"client","returnType":"int","params":[{"name":"value","type":"float"}],"summary":"Rounds a float value up to the next whole number","descriptions":[{"source":"alloc8or","format":"text","body":"Rounds a float value up to the next whole number"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","gtaHash":"0x11E019C8F43ACC8A","gtaJhash":"0xD536A1DF","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/BUILTIN/CEIL","markdownUrl":"https://natives.borderlinerp.com/natives/BUILTIN/CEIL.md","snippets":{"lua":"local retval = Ceil(value)","luaInvoke":"local retval = Citizen.InvokeNative(0x11E019C8F43ACC8A, value, Citizen.ResultAsInteger())","js":"const retval = Ceil(value);","jsInvoke":"const retval = Citizen.invokeNative('0x11E019C8F43ACC8A', value + 0.0000001, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0x11E019C8F43ACC8A, value);","notes":["Float parameters: Lua integers (`10`, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write `10.0` or `value + 0.0`. The generated JS wrappers add `0.0000001` to non-zero floats for the same reason."]}}