Wo ist der Mathematik.Runde() in Dart?

Sehe ich keinen Weg, um eine Zahl im Dart?

import 'dart:math';

main() {
  print(Math.round(5.5)); //Error!
}

http://api.dartlang.org/docs/bleeding_edge/dart_math.html

InformationsquelleAutor | 2012-11-07
Schreibe einen Kommentar