Fix tester compare command result check
Use sscanf instead of strtold and _atodbl due to compatibility issues