Actually, I\'ve found possible solution
//returns true
new BigDecimal(\"5.50\").doubleValue() == new BigDecimal(\"5.5\").doubleValue()
Of
From the javadoc of BigDecimal
equals
public boolean equals(Object x)Compares this
BigDecimalwith the specifiedObjectfor equality. Unlike compareTo, this method considers twoBigDecimalobjects equal only if they are equal in value and scale (thus 2.0 is not equal to 2.00 when compared by this method).
Simply use compareTo() == 0