The arithmetic division operator (/) returns the quotient of two operands.
If the first operand is a number, but the second is a string or a Boolean, the second operand is converted to a number.
All division is integer division.
Note: Division by zero, which is arithmetically undefined, always results in an error in this environment.
Examples:
1 / 2
Result = 0
1 / "JUAN"
Result = 0
100 / "32JUAN"
Result = 3
Copyright © 2010 CA. All rights reserved. | Email CA about this topic |