https://bugs.kde.org/show_bug.cgi?id=517349

--- Comment #1 from Gabriel Barrantes <[email protected]> ---
(In reply to Richard from comment #0)
> SUMMARY
> When attempting to calculate a large number in simple mode, it returns an
> incorrect result. 
> 
> 
> STEPS TO REPRODUCE
> 1. Open Kcalc, with default settings of simple mode and 12 digit precision. 
> 2. Paste in 9031484951 – 9031485000
> 3. Observe result
> 
> OBSERVED RESULT
> -8.15677208627e+19
> 
> EXPECTED RESULT
> -49
> 
> SOFTWARE/OS VERSIONS
> KDE Plasma Version: 6.6.2
> KDE Frameworks Version: 6.23.0
> Qt Version: 6.10.2
> Kernel Version: 6.19.6-2-cachyos (64-bit)
> Graphics Platform: Wayland
> Processors: 16 × AMD Ryzen 7 PRO 8840HS w/ Radeon 780M Graphics
> Memory: 64 GiB of RAM (58.5 GiB usable)
> Graphics Processor: AMD Radeon 780M Graphics
> 
> ADDITIONAL INFORMATION

is due to the "–", seems that is a U+2013 and is not being recognized as a
substraction, should be an easy fix.
Use "-" and the result will be correct

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to