formatWith<T extends num> method

String formatWith<T extends num>(
  1. NumeralCodec<T> codec
)

Formats this value with an existing codec.

Implementation

String formatWith<T extends num>(NumeralCodec<T> codec) => codec.format(this);