I suppose it depends on the definition of "easy".
It's maybe not a trivial comparison, but you can parse out the proversion output and make it work for you. Compare the part before the decimal to 10, then compare the digit(s) after the period to 2, compare the string after that to "B", etc.