A type definition for a function that formats a double value.
typedef DoubleFormatter = String Function(double value);