Floating point math functions |
|
| Top Previous Next | |
Visual DialogScript supports the following functions which can be used to perform floating point calculations:
absolute |
|
addition |
|
arctangent |
|
cosine |
|
division |
|
exp |
|
|
|
ln |
|
multiplication |
|
Fraction |
|
Round |
|
sine |
|
square root |
|
subtraction |
The @FORMAT function can be used to convert floating point values to a fixed number of decimal places for display or comparison purposes.
Note that Visual DialogScript does not support the use of commas as decimal separators, as used in some European countries. This would be incompatible with the use of commas as parameter separators in DialogScript commands and functions.