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:
ngeoffray@google.com 2011-10-07 08:48:12 +00:00
parent e4809c8a9f
commit d4c8bacc2d

View file

@ -174,7 +174,7 @@ class Double implements double {
}
// Step 8.c.iii.
String a = m.substring(0, k - fractionDigits);
String b = m.substringToEnd(k - fractionDigits);
String b = m.substring(k - fractionDigits);
// Step 8.c.iv.
m = a + "." + b;
}