In Apex, can Decimals be compared directly. For example: dec1 > dec2 or dec1 == dec2
In other languages I sometimes run into issues with fractions such that 1/3 and 0.33 are not going to be equal. I usually have to solve this by subtracting one value from the other and testing whether or not their difference is within a tolerance (epsilon comparison).
Is this necessary in Apex? Why or why not?