+ - * / ** = += -= *= < <= > >= <> |
standard infix operators |
| .absVal |
-3.1415.absVal returns 3.1415 |
| .floor |
3.1415'.floor returns 3.00 -3.1415'.floor returns -4.00 the greatest integer that is less than or equal to x |
| .ceiling |
3.1415'.ceiling returns 4.00 -3.1415'.ceiling returns -3.00 the least integer that is greater than or equal to x |
| .fraction |
3.1415'.fraction returns 0.1415 |
| in int1...int2 |
3.1415 in 3.1 ... 3.1416 returns true |
| .ln |
natural log |
| .log |
base 10 log |
| .log(base) |
log to specified base |
| .max(integer) |
|
| .min(integer) |
|
| .random(min,max) |
|
| .round |
round to the nearest integer |
| .round(digits) |
roud to this number of decimal places |
| .toInteger |
|
| .toString |
|
| .truncate |
3.1415.truncate returns 3.00 removes the fractional part |