Official comment
Just updating this old thread with a note that we have a dedicated function for this.
Previous Option:
Right(toString($PlannedBudget),3) <> Right(toString($Project.CostCurrencyType),3)
New Option with Function
GetCurrencyType($PlannedBudget) <> ToString($Project.CostCurrencyType)