Format value into buffer using cfg.

Synopsis

Declared in <bdldfp_decimalimputil.h>

static
int
format(
    char* buffer,
    int length,
    ValueType64 value,
    DecimalFormatConfig const& cfg);

Return Value

the length of the formatted value

Parameters

Name

Description

buffer

destination character buffer

length

capacity of buffer in characters

value

decimal value to format

cfg

formatting configuration

Created with MrDocs