while storing the value 1.111 in a float variable the value stored and printed is 1.1109999.
why is this loss of data or sometimes the gain of data?.
narmadhahearty
0
Newbie Poster
Recommended Answers
Jump to PostThis article explains it all.
All 2 Replies
ddanbe
2,724
Professional Procrastinator
Featured Poster
deceptikon
commented:
An article everyone should read
+13
jnneson
13
Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.