Format value into buffer using cfg.
Declared in <bdldfp_decimalimputil.h>
static
int
format(
char* buffer,
int length,
ValueType32 value,
DecimalFormatConfig const& cfg);
the length of the formatted value
| Name | Description |
|---|---|
| buffer | destination character buffer |
| length | capacity of buffer in characters |
| value | decimal value to format |
| cfg | formatting configuration |