num1 | String Number (floating point number represented as a String) that is the dividend. |
num2 | String Number (floating point number represented as a String) that is the divisor. |
precision | String Optional. Number of decimal places to which the quotient will be rounded. The default value is null. |
value | String The quotient of num1 / num2. If a quotient cannot be produced, value contains one of the following: | |
Value | Description | |
Infinity | The computation produces a positive value that overflows the representable range of a float type. | |
-Infinity | The computation produces a negative value that overflows the representable range of a float type. | |
0.0 | The computation produces a value that underflows the representable range of a float type (for example, dividing a number by infinity). | |
NaN | The computation produces a value that cannot be represented as a number (for example, the result of an illegal operation such as dividing zero by zero or any operation that uses NaN as input, such as 10.0 + NaN = NaN). |