[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]


roundtol

The function roundtol rounds its argument to the nearest integral value.

Compatibility:

This function is compatible with the following targets:

ANSI

BeOS

EMB/RTOS

Mac OS

Palm OS

Win32


Prototype:
#include <math.h>
long int roundtol ( double round );
Parameters:

Parameters for this function are:

round  
double  
The value being rounded  

Return:

The argument rounded to an integral value in long int format.

Remarks:

Rounding halfway cases away from zero, regardless of the current rounding direction

"round"


[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]

Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.

Last updated: August 16, 2000