Index: pkg/intl/lib/number_format.dart |
diff --git a/pkg/intl/lib/number_format.dart b/pkg/intl/lib/number_format.dart |
index 4f75d634e81d52b9a12c18111eca5ad042e1e008..7aeafbefdb4bfa36c759ee31e416612ccdfca906 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 |