Compare 2 doubles but without all the digits on C
I want to compare 2 double but without all the digits.
for example i have this double 1.548799778 and this 1.547990978 and I want to compare 1.xx from each. How can I "round" this double to 1.xx?? 
Thanks
Compare 2 doubles but without all the digits on C
===

I want to compare 2 double but without all the digits.
for example i have this double 1.548799778 and this 1.547990978 and I want to compare 1.xx from each. How can I "round" this double to 1.xx?? 
Thanks