company logo

Value :: operator/= - Divide and assign result to first operator

Before dividing, the right operand (parameter) is converted into a number. When the left value is Boolean, it is converted into 0 or 1.

When the first operand is not numeric or Boolean, or when the second operand cannot be converted into a numerical value, the function throws an exception.

Return value:  Value handle ( odaba::Value & )

A value handle refers to a (usually) opened value. Invalid value handles may cause an exception.

Implementation details

odaba::Value & Value  :: operator/= ( odaba::Value &cValue )

The operation provides the result of dividing two numerical values. The function is a self-operation returning the result in the first operand. The result is computed as double value and converted into the data type of the first operand.

  • cValue - Value handle

    A value handle refers to a (usually) opened value. Invalid value handles may cause an exception.