table of contents
other versions
- jessie 1.1.1-3
PGARound(5) | PGAPack | PGARound(5) |
NAME¶
PGARound - Mathematically round a double to an integer, using 0.5 as the cutoff value.INPUT PARAMETERS¶
- ctx
- - context variable
- x
- - the number to be rounded
OUTPUT PARAMETERS¶
- none
SYNOPSIS¶
#include "pgapack.h" int PGARound(ctx, x) PGAContext *ctx double x
LOCATION¶
utility.cEXAMPLE¶
Example: PGAContext *ctx; int y; y = PGARound(ctx, -78.6);
05/01/95 |