cnet's Application Programming Interface
- NAME
- CNET_set_commas, CNET_get_commas - manage the use of commas
in formatting 64-bit integers
- SYNOPSIS
#include <cnet.h>
bool CNET_set_commas(bool wanted);
bool CNET_get_commas(void);
- DESCRIPTION
-
CNET_format64 may be used to format a 64-bit integer with
commas included every 3 digits to increase the readability.
The function CNET_set_commas may be used to enable or disable the
inclusion of commas,
and CNET_get_commas may be used to report if commas are currently
being included.
- RETURN VALUE
-
CNET_get_commas returns indication if commas will be included in
subsequent formatting performed by CNET_format64.
CNET_set_commas returns a value indicating if
commas were previously included in the formatting performed
by CNET_format64.
SEE ALSO
CNET_format64.
|
cnet v3.3.4, written by Chris.McDonald@uwa.edu.au
Last modified: Tue Mar 1 7:43AM 2016