thungp / portfolioViz2

Peter and Daniels HTML/CSS/JS Experimentations
0 stars 0 forks source link

Predictied values need to get rounded #4

Closed thungp closed 7 years ago

thungp commented 7 years ago

Example: Gerogia Death Rate (2016) Percentage shows 2.40000000000004% Montana Death Rate (2016) Percentage shows 5.199999999999999%

thungp commented 7 years ago

fixed issue based on this reference: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/round