Bug 150334 - simple expression with floating point number evaluates to a wrong result
Summary: simple expression with floating point number evaluates to a wrong result
Status: RESOLVED WORKSFORME
Alias: None
Product: calligrasheets
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Calligra Sheets (KSpread) Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-29 20:21 UTC by Eugene Morozov
Modified: 2016-02-01 22:23 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eugene Morozov 2007-09-29 20:21:08 UTC
Version:           1.6.3 (using KDE 3.5.7, compiled sources)
Compiler:          Target: i486-slackware-linux
OS:                Linux (i686) release 2.6.21.5-smp

I put the expression "=37/60*2*3.141*0.15" into cell and it was evaluated to "58.108,5". The subexpression "=37/60*2*3.141" evaluates to the right result. If "0.15" is substituted to an integer, e.g. 1 or 2, the evaluation goes as expected. My location setting is "ru" so I tried comma as a separator but the bug didn't disappear. 

With regard,
Eugene Morozov
Comment 1 Stefan Nikolaus 2007-10-03 16:21:00 UTC
I cannot confirm this. Neither with 1.6.3 nor with the upcoming 2.x series. I've checked both with dot and comma as decimal separator.