Rechercher une page de manuel
pmNumberStr
Langue: en
Version: SGI (debian - 07/07/09)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
pmNumberStr - fixed width output format for numbersC SYNOPSIS
#include <pcp/pmapi.h>const char *pmNumberStr(double value)
cc ... -lpcp
DESCRIPTION
pmNumberStr returns the address of a static 8-byte buffer that holds a null-byte terminated representation of value suitable for output with fixed width fields.The value is scaled using multipliers in powers of ``one thousand'' (the decimal ``kilo'') and has a bias that provides greater precision for positive numbers as opposed to negative numbers.
The format depends on the sign and magnitude of value as follows (d represents a decimal digit):
|
At the boundary points of the ranges, the chosen format will retain the maximum number of significant digits.
SEE ALSO
printf(3)Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre