Optional
options: null | NumberFormatOptionsServices accessor. Note: Not passed into the constructor because this object should be created before ValidationServices itself. So it gets assigned when ValidationService.dataTypeFormatterService is assigned a value.
Provides access to services.
Protected
hasProtected
optionsProtected
expectedThe DataTypeLookup key(s) that this class supports.
Evaluates the parameters to determine if its format() method should handle the value with those same parameters. It should always match the DataTypeLookupKey. It does not have to evaluate the cultureID, as there are implementations where the format() function handles eve
Such as 'en-US' and 'en'
Use its format() method when true. Do not use format() when false.
Protected
prepProtected
matchingCreates a formatted string for the value, applying the goals of the DataTypeLookupKey and making it culture specific.
Protected
formatIf the value is a Number, it uses Intl.NumberFormat. If it is null, it returns the empty string. Anything else is an error.
Optional
options: null | NumberFormatOptionsif Null, it uses the options supplied in the constructor or DefaultOptions function.
Protected
supportsProtected
getGenerated using TypeDoc v0.25.12
For LookupKey.Integer. Converts any number using the Intl library's NumberFormat feature.