| Index: samples/calculator/tape.dart
|
| diff --git a/samples/calculator/tape.dart b/samples/calculator/tape.dart
|
| index f6c2ebdecbbc8d4627a84459c750d3a11dcced21..6910775ddc28c89f3954c7be5912a8f364fae2be 100644
|
| --- a/samples/calculator/tape.dart
|
| +++ b/samples/calculator/tape.dart
|
| @@ -23,7 +23,7 @@ class Tape {
|
|
|
| if (number != "." && number != "-" && number != "-.") {
|
| try {
|
| - numberAsValue = Math.parseDouble(number.length == 0 ? "0" : number);
|
| + numberAsValue = double.parse(number.length == 0 ? "0" : number);
|
| } on FormatException catch (e) {
|
| displayError(e.toString());
|
| return;
|
|
|