t660: check result is number or not before comparison.