Menu

#2 Bad round

open
nobody
None
5
2004-07-02
2004-07-02
Anonymous
No

Hello,
I have a problem with decimal number.

I insert the decimal number: 3.172
but when I extract it the number appear like 3.1719999.

Could you explain this?
How I can solve the problem.

At the level of apllication I can put a "round", but is it
possible sove the problem at the level of library?

Thank you a lot.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.