OPERATOR: \
Implemented in version 1.0
\
The \ operator divides two numbers and returns an integer (fixedpoint).
Each number can be either floatingpoint or fixedpoint.
The answer is truncated to the integer portion.
This is equivalent to rounding towards zero for both negative and positive numbers.
Code:
<% result = 25 \ 4 %>
Output:
6
Code:
<% result = 35.4 \ 6.01 %>
Output:
5
Code:
<% result = 25.12345 \ 4 %>
Output:
6
Copyright 19992001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information
