This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| cubloc:log10:index [2026/02/16 05:48] – created - external edit 127.0.0.1 | cubloc:log10:index [2026/02/20 15:37] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Log10 ====== | ====== Log10 ====== | ||
| - | Return | + | The **Log10** function returns the common |
| + | |||
| + | |||
| + | For the best precision, use the '' | ||
| + | |||
| + | Example | ||
| <code xbasic> | <code xbasic> | ||
| - | A=Log10 B | + | Dim A As Single |
| + | Dim B As Single | ||
| + | B = 100.0 | ||
| + | A = Log10(B) ' Returns 2.0 (because 10^2 = 100) | ||
| </ | </ | ||
| + | |||
| + | ==== Explanation: | ||
| + | * **B**: A positive numeric value ($B > 0$). | ||
| + | * **Log10 B**: Calculates the base-10 logarithm. | ||
| + | * **A**: Stores the result. | ||
| See also [[: | See also [[: | ||
| [[cubloc: | [[cubloc: | ||