This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
manual:Calculations [2023/10/02 00:38] peternlewis |
manual:Calculations [2025/02/25 21:04] (current) peternlewis [Operators] |
||
---|---|---|---|
Line 38: | Line 38: | ||
| Unary Postfix Operators (`!,%,°`)) | factorial, percent, degrees. | | | Unary Postfix Operators (`!,%,°`)) | factorial, percent, degrees. | | ||
- | Numbers are in decimal by default, but may use base 16 if they start with `$` or `0x` (eg $5A or 0x5A), or may start with a specific base followed by a `#` (eg 8#007). Numbers may include underscores, for example 1_000_000 or 0xABCD_EF89. | + | Numbers are in decimal by default, but may use base 16 if they start with `$` or `0x` (eg $5A or 0x5A), or may start with a specific base followed by a `#` (eg 8#007). Numbers may include underscores, for example `1_000_000` or `0xABCD_EF89`. |
[[Variables|Variables]] can be used if they contain numeric expressions, including an *array* of numbers separated by commas, in which case you can use an array index to select the desired number. | [[Variables|Variables]] can be used if they contain numeric expressions, including an *array* of numbers separated by commas, in which case you can use an array index to select the desired number. |