OPERATOR:   \

Implemented in version 1.0
 
 \
 
The \ operator divides two numbers and returns an integer (fixed-point). Each number can be either floating-point or fixed-point.
 
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 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information