ideaconsult / Toxtree.js

http://ideaconsult.github.io/Toxtree.js/
2 stars 3 forks source link

zero values display #132

Closed vedina closed 9 years ago

vedina commented 9 years ago

If an effect record contains zero value it should be displayed as zero and not as in the screenshot

"result":   {
    "unit": "%",
    "loValue":  0
    }

image

gonzomir commented 9 years ago

Fixed the issue, the problem was that the value was casted to boolean, and numeric 0 equals false.

vedina commented 9 years ago

Resolved.