Represents a number in format.
The format depends on NumberFormat.
String format(String format) { assert(format.isNotEmpty, "The format is empty."); return NumberFormat(format).format(this); }