Logo Search packages:      
Sourcecode: icu version File versions

const int32_t DecimalFormat::kMaxScientificIntegerDigits = 8 [static, protected]

When someone turns on scientific mode, we assume that more than this number of digits is due to flipping from some other mode that didn't restrict the maximum, and so we force 1 integer digit. We don't bother to track and see if someone is using exponential notation with more than this number, it wouldn't make sense anyway, and this is just to make sure that someone turning on scientific mode with default settings doesn't end up with lots of zeroes. ICU 2.8

Definition at line 2284 of file decimfmt.h.

Referenced by subformat(), and toPattern().

Generated by  Doxygen 1.6.0   Back to index