BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bdldfp_decimalformatconfig

Detailed Description

Outline

Purpose

Provide an attribute class to configure decimal formatting.

Classes

See also
bdldfp_decimalutil

Description

This component provides a single, simply constrained (value-semantic) attribute class, bdldfp::DecimalFormatConfig, that is used to configure various aspects of decimal value formatting.

Attributes

Name Type Default Simple Constraints
--------- ------ --------------- ------------------
style Style e_NATURAL none
precision int 0 >= 0
sign Sign e_NEGATIVE_ONLY none
infinity string "inf" none
nan string "nan" none
snan string "snan" none
point char '.' none
exponent char 'e' none
showpoint bool false none
expwidth int 2 >= 1, <= 4