This function divides the first vector by the second, and returns the result as a pipe-bar delimited list.
VectorDivide([Vector 1], [Vector 2])
Where:
Vector 1 is a pipe-bar delimited list representing the first vector (X|Y|Z).
Vector 2 is a pipe-bar delimited list representing the second vector (X|Y|Z).
Rule | Result |
---|---|
VectorDivide("2|6","1|2") | Will return the division of the two 2D vectors, 2|3. |
VectorDivide("2|6|8","1|2|2") | Will return the division of the two 3D vectors, 2|3|4. |
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.