[Bug 19011] Wrong validation of length 0.0 - use value.compareTo(BigDecimal.ZERO)==0 instead of value.equals(BigDecimal.ZERO) - [WITH PATCH]

https://www.w3.org/Bugs/Public/show_bug.cgi?id=19011

Hannes Erven <hannes+w3cbugs@erven.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Wrong validation of length  |Wrong validation of length
                   |0.0 - use                   |0.0 - use
                   |value.equals(BigDecimal.ZER |value.compareTo(BigDecimal.
                   |O) instead of               |ZERO)==0 instead of
                   |value==BigDecimal.ZERO      |value.equals(BigDecimal.ZER
                   |                            |O) - [WITH PATCH]

--- Comment #1 from Hannes Erven <hannes+w3cbugs@erven.at> 2012-09-25 17:59:09 UTC ---
(corrected misleading title. sorry.)

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Tuesday, 25 September 2012 17:59:10 UTC