Query: pgaround
OS: debian
Section: 5
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
PGARound(5) PGAPack PGARound(5)NAMEPGARound - Mathematically round a double to an integer, using 0.5 as the cutoff value.INPUT PARAMETERSctx - context variable x - the number to be roundedOUTPUT PARAMETERSnoneSYNOPSIS#include "pgapack.h" int PGARound(ctx, x) PGAContext *ctx double xLOCATIONutility.cEXAMPLEExample: PGAContext *ctx; int y; y = PGARound(ctx, -78.6); 05/01/95 PGARound(5)