Access4LearningNA / specgen_input_na

Where we define the Unity data model.
Apache License 2.0
0 stars 0 forks source link

Would like to see at least 3 points of precision on /StudentSchoolEnrollment/FTE #185

Open johnmannpaul opened 1 year ago

johnmannpaul commented 1 year ago

In the NA data model /StudentSchoolEnrollment/FTE is currently limited to numbers after the decimal for precision. Many districts in wyoming have values in increments of 1/8 (0.125) but with SIS rounding the value to 0.13 before sending to us (verified with PowerSchool).

4pins commented 1 year ago

Obviously this would have backwards compatibility impacts even if we were still just supporting XML. However because this is currently a low precision number, we treat it at a number/float in JSON. Adding any additional precision is known to negatively impact some JSON tools. To get a sense of this please see the following question on Stack Overflow.

https://stackoverflow.com/questions/35709595/why-would-you-use-a-string-in-json-to-represent-a-decimal-number