Comparison of properties as enrollment condition on lists/workflows

I’d love to be able to compare two numerical contact properties in a workflow. For example, if property A is greater than property B, then do X, else do Y.