fixed method

String fixed(
  1. int x
)

Returns a string representation of this number with x decimal place.

Example: 123.456.fixed(2) -> 123.46.

Implementation

String fixed(int x) => toStringAsFixed(x);