parse method

  1. @override
double parse(
  1. String input
)
override

Parses input and returns the numeric value.

Throws FormatException when input cannot be parsed by this codec.

Implementation

@override
double parse(String input) {
  final number = stripSuffix(input, symbol, require: requireSymbol);
  return style.parse(number) / scale;
}