[Spec Deviation] Reference equality checks incorrect for equal decimal values with different precision #17984
Labels
Spec/2019R3
Related to Ballerina Spec 2019R3
Team/jBallerina
All the issues related to BIR, JVM backend code generation and runtime
Type/SpecDeviation
Description:
According to the 2019r3 spec
"For the decimal type, the operators differ in whether they consider the precision of the value. For example, 1.0 == 1.00 is true but 1.0 === 1.00 is false."
Steps to reproduce:
Affected Versions:
1.0.0-beta-SNAPSHOT - 15th August build
Related Issues:
#11913
The text was updated successfully, but these errors were encountered: