Condividi tramite


numeric_limits::max_digits10

Returns the number of decimal digits required to make sure that two distinct values of the type have distinct decimal representations.

static int max_digits10 = 0;

Return Value

Returns the number of decimal digits that are required to make sure that two distinct values of the type have distinct decimal representations.

Remarks

The member stores the number of decimal digits required to make sure that two distinct values of the type have distinct decimal representations.

Requirements

Header: <limits>

Namespace: std

See Also

Reference

numeric_limits Class

<limits>