According to the Mendix 5 refguide:
The currenciesEqual function is a synonym for floatsEqual. However, we recommend the use of the high-precision Decimal type to represent money. Equality of Decimal numbers can be determined with the = operator.