format
typescript
Mathf.Log10(val)class: Mathf
description
Returns the logarithm of x to the base 10.
parameter
| param_name | type | description |
|---|---|---|
| val | number | The specified value. |
return
| type | description |
|---|---|
number | The logarithm of x to the base 10. |
code example
typescript
// Logarithm of x to the base 10
let log10 = Mathf.Log10(1); // log10 = 0