Read float value from file c++
i have a text file of values
133.25 129.40 41.69 2.915
when i read it:
fscanf(File,"%f",&floatNumber[i]);
i get thes values
1.3325000000000000e+002, 1.2939999389648437e+002, 4.1689998626708984e+001 2.9149999618530273e+000
the first value is ok but the other three values why they are different ??