From 63acba8f534aff376414c3b09c855ccb0c09f3a6 Mon Sep 17 00:00:00 2001 From: Attilio Mattiocco Date: Mon, 8 Apr 2024 11:00:39 +0200 Subject: [PATCH] fix division --- v2.1/docs/operators/Division/content.rst | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/v2.1/docs/operators/Division/content.rst b/v2.1/docs/operators/Division/content.rst index 644edd0..1a1cdba 100644 --- a/v2.1/docs/operators/Division/content.rst +++ b/v2.1/docs/operators/Division/content.rst @@ -50,7 +50,8 @@ None. Behavior -------- -The operator has the behaviour of the "Operators applicable on two Scalar Values or Data Sets or Data Set Components" (see the section "Typical behaviours of the ML Operators"). -According to the general rules about data types, the operator can be applied also on sub-types of number, that is the type integer. -If the type of both operands is integer then the result has type integer. -If one of the operands is of type number, then the other operand is implicitly cast to number and therefore the result has type number. +The operator has the behaviour of the “Operators applicable on two Scalar Values or Data Sets or Data Set Components” +(see the section “Typical behaviours of the ML Operators”). According to the general rules about data types, +the operator can be applied also on sub-types of number, that is the type integer. The result has type number. + +If op2 is 0 then the operation generates a run-time error. \ No newline at end of file