mirror of
https://github.com/dart-lang/sdk
synced 2024-09-18 20:01:19 +00:00
substringToEnd does not exist anymore.
Review URL: https://chromereviews.googleplex.com/3575012 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@203 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
parent
e4809c8a9f
commit
d4c8bacc2d
|
@ -174,7 +174,7 @@ class Double implements double {
|
||||||
}
|
}
|
||||||
// Step 8.c.iii.
|
// Step 8.c.iii.
|
||||||
String a = m.substring(0, k - fractionDigits);
|
String a = m.substring(0, k - fractionDigits);
|
||||||
String b = m.substringToEnd(k - fractionDigits);
|
String b = m.substring(k - fractionDigits);
|
||||||
// Step 8.c.iv.
|
// Step 8.c.iv.
|
||||||
m = a + "." + b;
|
m = a + "." + b;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue