Calculates the base-10 logarithm (common logarithm).
FLOAT64Diperbarui: 13 Jun 2026LOG10(expression)A positive number
1 SELECT 2 LOG10(1) as log_1, 3 LOG10(10) as log_10, 4 LOG10(1000) as log_1000;
Base-10 logarithm for powers of 10.
| log_1 | log_10 | log_1000 |
|---|---|---|
| 0.0 | 1.0 | 3.0 |
1 SELECT 2 value, 3 FLOOR(LOG10(value)) as order_of_magnitude 4 FROM UNNEST([5, 50, 500, 5000]) as value;
Determines the order of magnitude.
Sudah paham LOG10? Latih langsung di browser
Latihan interaktif, langsung di browser.