This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| cubloc:log:index [2026/02/16 05:48] – created - external edit 127.0.0.1 | cubloc:log:index [2026/02/20 15:37] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Log ====== | ====== Log ====== | ||
| - | Returns | + | The **Log** function returns |
| + | For the most accurate results, use the '' | ||
| + | |||
| + | Example | ||
| <code xbasic> | <code xbasic> | ||
| - | A=Log B | + | Dim A As Single |
| + | Dim B As Single | ||
| + | B = 2.718282 | ||
| + | A = Log(B) ' Returns approx. 1.0 | ||
| </ | </ | ||
| + | |||
| + | ==== Explanation: | ||
| + | * **B**: A positive numeric value ($B > 0$). | ||
| + | * **Log B**: Calculates the natural logarithm ($ln B$). | ||
| + | * **A**: Stores the result. | ||
| See also [[: | See also [[: | ||
| [[cubloc: | [[cubloc: | ||
| - | |||