Closed 4pins closed 1 year ago
So I can't find a maxFractionDigits to make this better, however we could use a regular expression. The 3 in the below example is where the value of the xs:fractionDigits would go.
Example: -?(\d+)?.?\d{0,3}
Matches: 14.32 51.63 10.50 10.5 10 -10 10.0 10.123 -14.32 -.32
Misses: 10.1234 23FB This is not the way
More Matches: 0.2 .2 -.3
Actually xs:fractionDigits already means this. https://www.w3.org/TR/xmlschema-2/#rf-fractionDigits
Any further conversation on this topic will be addressed in ticket: https://github.com/Access4LearningNA/specgen_input_na/issues/185
xs:fractionDigits causes issues converting from JSON to validate XML.
The good news: Doesn't impact monetary values in Unity Bad news: Attendance, Percentage, FTE