usnistgov / ElectionResultsReporting

Common data format specification for election results reporting data
https://pages.nist.gov/ElectionResultsReporting
Other
23 stars 8 forks source link

Proposal: Replace "float" with "double" in the schema #26

Closed markcwal-google closed 5 years ago

markcwal-google commented 5 years ago

"float" is used in three places: Latitude, Longitude, VoteCount. In all three of these, it would be preferable to use "double" instead. Latitude/Longitude has already been updated to double in the VIP 5.1 schema, and for VoteCounts, there are problems representing high counts in the millions accurately with only a float

johnpwack commented 5 years ago

Mark, my apologies, you are right. I did change this earlier as you requested; perhaps I never loaded that version. At any rate, I'm fixing it now and will notify when updated.

markcwal-google commented 5 years ago

Okay great -- I couldn't remember if I had suggested this earlier or not so wanted to just make sure that it got flagged

johnpwack commented 5 years ago

The model, image, and XML schema are updated on this branch. Forthcoming will be the JSON schema and the documentation.

JDziurlaj commented 5 years ago

Changes in version2.