|
|
@ -96,7 +96,7 @@ class DoubleToStringConverter { |
|
|
|
// Example with max_leading_padding_zeroes_in_precision_mode = 6. |
|
|
|
// ToPrecision(0.0000012345, 2) -> "0.0000012" |
|
|
|
// ToPrecision(0.00000012345, 2) -> "1.2e-7" |
|
|
|
// Similarily the converter may add up to |
|
|
|
// Similarly the converter may add up to |
|
|
|
// max_trailing_padding_zeroes_in_precision_mode in precision mode to avoid |
|
|
|
// returning an exponential representation. A zero added by the |
|
|
|
// EMIT_TRAILING_ZERO_AFTER_POINT flag is counted for this limit. |
|
|
@ -138,7 +138,7 @@ class DoubleToStringConverter { |
|
|
|
// Example with decimal_in_shortest_low = -6, |
|
|
|
// decimal_in_shortest_high = 21, |
|
|
|
// EMIT_POSITIVE_EXPONENT_SIGN activated, and |
|
|
|
// EMIT_TRAILING_DECIMAL_POINT deactived: |
|
|
|
// EMIT_TRAILING_DECIMAL_POINT deactivated: |
|
|
|
// ToShortest(0.000001) -> "0.000001" |
|
|
|
// ToShortest(0.0000001) -> "1e-7" |
|
|
|
// ToShortest(111111111111111111111.0) -> "111111111111111110000" |
|
|
@ -242,7 +242,7 @@ class DoubleToStringConverter { |
|
|
|
// Example with max_leading_padding_zeroes_in_precision_mode = 6. |
|
|
|
// ToPrecision(0.0000012345, 2) -> "0.0000012" |
|
|
|
// ToPrecision(0.00000012345, 2) -> "1.2e-7" |
|
|
|
// Similarily the converter may add up to |
|
|
|
// Similarly the converter may add up to |
|
|
|
// max_trailing_padding_zeroes_in_precision_mode in precision mode to avoid |
|
|
|
// returning an exponential representation. A zero added by the |
|
|
|
// EMIT_TRAILING_ZERO_AFTER_POINT flag is counted for this limit. |
|
|
|