LOG10
Returns the base-10 logarithm of value.
Signature
float LOG10(float value); // 0xE816E655DE37FE20 b1232Parameters
| # | Name | Type |
|---|---|---|
| 1 | value | float |
Facts
| Name | LOG10 |
|---|---|
| Hash | 0xE816E655DE37FE20 |
| Namespace | |
| Returns | float |
| Game build | 1232 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0xE816E655DE37FE20, -- LOG10
0.0, -- float value
Citizen.ResultAsFloat()
)
print(result)// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
const result = Citizen.invokeNative("0xE816E655DE37FE20", // LOG10
0.0, // float value
Citizen.resultAsFloat()
);
console.log(result)float result = Function.Call<float>((Hash)0xE816E655DE37FE20, // LOG10
0.0f // float value
);Related BUILTIN natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.