{"hash":"0xD2C9126410DFA1B2","ns":"MISC","name":"_READ_INT_AS_FLOAT","slug":"_READ_INT_AS_FLOAT","official":false,"named":true,"luaName":"ReadIntAsFloat","game":"rdr3","apiset":"client","returnType":"float","params":[{"name":"value","type":"int"}],"summary":"Reads the passed value as floating point value and returns it.","descriptions":[{"source":"alloc8or","format":"text","body":"Reads the passed value as floating point value and returns it.\nExample: _READ_INT_AS_FLOAT(0x3F800000) returns 1.0f because 0x3F800000 is the hexadecimal representation of 1.0f."}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/MISC/_READ_INT_AS_FLOAT","markdownUrl":"https://natives.borderlinerp.com/natives/MISC/_READ_INT_AS_FLOAT.md","snippets":{"lua":"local retval = ReadIntAsFloat(value)","luaInvoke":"local retval = Citizen.InvokeNative(0xD2C9126410DFA1B2, value, Citizen.ResultAsFloat())","js":"const retval = ReadIntAsFloat(value);","jsInvoke":"const retval = Citizen.invokeNative('0xD2C9126410DFA1B2', value, Citizen.returnResultAnyway(), Citizen.resultAsFloat());","csharp":"float retval = Function.Call<float>((Hash)0xD2C9126410DFA1B2, value);","notes":["The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works."]}}