use sprintf to compare 3floating precision