A function that formats a number to a string for display in a NumberBox.
typedef NumberBoxFormatFunction = String? Function(num? number);