Why this big truncation error using float data type?

Hi everyone!

Help me, please! I've tried some calculations using a float data type and i've been getting a big truncation error.


float a=5, b=2000, c;

actually, this calculation returns zero as result :fearful: but i need more precision (0.0025 as result XD)
I'm using Arduino Uno and Arduino IDE 1.5.5

Serial.println (c, 4);?

i tried before and didnt work but now it's ok. thank you and sorry about the stupid question!

Perhaps before, a and b were integers, and c really was zero.

yes... should be. tks too much!