BloombergLP::bdldfp::DecimalFormatConfig::setPrecision

Set the precision attribute of this object to the specified value. Behavior is undefined unless value >= -1.

Synopsis

Declared in <bdldfp_decimalformatconfig.h>

void
setPrecision(int value);

Parameters

NameDescription
valuenumber of digits written after the decimal point