{"hash":"0xE816E655DE37FE20","ns":"BUILTIN","name":"LOG10","slug":"LOG10","official":true,"named":true,"luaName":"Log10","game":"rdr3","apiset":"client","returnType":"float","params":[{"name":"value","type":"float"}],"summary":"Old name: _LOG10","descriptions":[{"source":"alloc8or","format":"text","body":"Old name: _LOG10"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1232","gtaHash":"0xE816E655DE37FE20","gtaJhash":"","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/BUILTIN/LOG10","markdownUrl":"https://natives.borderlinerp.com/natives/BUILTIN/LOG10.md","snippets":{"lua":"local retval = Log10(value)","luaInvoke":"local retval = Citizen.InvokeNative(0xE816E655DE37FE20, value, Citizen.ResultAsFloat())","js":"const retval = Log10(value);","jsInvoke":"const retval = Citizen.invokeNative('0xE816E655DE37FE20', value + 0.0000001, Citizen.returnResultAnyway(), Citizen.resultAsFloat());","csharp":"float retval = Function.Call<float>((Hash)0xE816E655DE37FE20, 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."]}}