Write the fraction-of-second digits to out.
Declared in <bdlt_formatutil.h>
template<class t_ITERATOR>
static
t_ITERATOR
writeSecondFraction(
t_ITERATOR out,
int precision,
t_CHAR decimalChar,
int millisecond,
int microsecond);
Write the fraction of a second from the timeCache to d_out, where the precision is the number of digits of precision wanted. Use decimalChar (expected to be '.' or ',') as a decimal point, and if precision == 0 output nothing. If 6 < precision, write '0' characters following the first 6 digits. The behavior is undefined unless 0 <= millisecond < 1000, 0 <= microsecond < 1000, and 0 <= precision.
output iterator after writing
| Name | Description |
|---|---|
| out | output iterator |
| precision | number of fraction digits to write |
| decimalChar | decimal separator character |
| millisecond | millisecond component of the fraction |
| microsecond | microsecond component of the fraction |