| Index: pkg/intl/lib/number_format.dart
|
| diff --git a/pkg/intl/lib/number_format.dart b/pkg/intl/lib/number_format.dart
|
| index 567fb99946a7757c6bb857d5c2f739a168ee8844..ed5cf2be23653d36cd506c4fbb3adf35f60a4f4d 100644
|
| --- a/pkg/intl/lib/number_format.dart
|
| +++ b/pkg/intl/lib/number_format.dart
|
| @@ -156,9 +156,9 @@ class NumberFormat {
|
| void _formatFixed(num number) {
|
| // Round the number.
|
| var power = pow(10, _maximumFractionDigits);
|
| - var intValue = number.truncate().toInt();
|
| + var intValue = number.truncate();
|
| var multiplied = (number * power).round();
|
| - var fracValue = (multiplied - intValue * power).floor().toInt();
|
| + var fracValue = (multiplied - intValue * power).floor();
|
| var fractionPresent = _minimumFractionDigits > 0 || fracValue > 0;
|
|
|
| // On dartj2s the integer part may be large enough to be a floating
|
|
|