Then you're not really comparing numbers, you're comparing strings.
You can use a repeat loop with a count of len(string1) and compare each item in the string with the corresponding value on the other using mid(string1, loopindex, 0) and mid(string2, loopindex, 0).
Example:
This example will return 1 if the numbers are the same or 0 if they're not.
You just need to check if "Function.Call("nameOfYourFunction", str(firstVariable), str(secondVariable)) is equal to 1 or 0 and show your message if it's 1.