Clean up num#toStringAsPrecision docs

Closes #32895
https://github.com/dart-lang/sdk/pull/32895

GitOrigin-RevId: a628456dcaebb200a2f1e3022169197a6b7d1248
Change-Id: I8bc0edb17d6aa713717954a5e592e64805246574
Reviewed-on: https://dart-review.googlesource.com/51280
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
Commit-Queue: Lasse R.H. Nielsen <lrn@google.com>
This commit is contained in:
Jingjie Y. ??? 2018-05-30 13:38:18 +00:00 committed by commit-bot@chromium.org
parent 1eb1885c62
commit 88127f10e4

View file

@ -396,7 +396,7 @@ abstract class num implements Comparable<num> {
* Examples:
*
* 1.toStringAsPrecision(2); // 1.0
* 1e15.toStringAsPrecision(3); // 1.00+15
* 1e15.toStringAsPrecision(3); // 1.00e+15
* 1234567.toStringAsPrecision(3); // 1.23e+6
* 1234567.toStringAsPrecision(9); // 1234567.00
* 12345678901234567890.toStringAsPrecision(20); // 12345678901234567168