This function calculates the absolute value of the vector, and returns the result as a pipe-bar delimited list.
VectorAbs([Vector])
Where:
Vector is a pipe-bar delimited list representing the vector (X|Y|Z).
Rule | Result |
---|---|
VectorAbs("-20|-16|-35") | Will return the absolute value of the given Vector 20|16|35 |
Due to floating point precision, some calculations may not be as precise as expected.
This can be avoided by following the advice in the topic Info: Floating Point Precision.