I have dug up the Oracle manual and this is what it says about this error.
I don't have any idea how to fix it though!

ORA-06502, "PL/SQL: numeric or value error"
Cause: The valid range for the threshold argument to the Similar( ) function is from 0.0 to 100.0.

Action: Correct the statement and try again.