The division operator takes two operands and divides the left-hand operand by the right-hand operand. A new resulting value is returned. Objects can implement their own custom division method to tailor the behavior of this operation.
Most types do not contain their own division operator. Attempting to divide two objects which do not support this operation will generate a failure.
When dividing an integer and a decimal, the result will always be a decimal, regardless of which side of the operation the decimal resided.
Also provided is a stand-alone division method which can be accessed using the escape method operator. This permits division operations to be passed as values and later invoked for whatever reason. This method eventually calls the / operator on the left-hand operand.
left_operand / right_operand
4 / 2.3
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.