Zim

arithmetic result shows a lot of unnecessary decimal places

Bug #1131921 reported by Oliver Hahn on 2013-02-22
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Zim
Medium
Unassigned

Bug Description

---
When using the arithmetic plug-in some calculation results show a lot of unnecessary decimal places.

---
Steps to reproduce,

1. Enable the arithmetic plug-in
2. Enter the following lines:

a=336/((1433600/64)/3600)
a=

3. Hit F5

a=54.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

---
It would be nice to be able to limit the number of displayed decimal places.
Even better would be to be able to use functions like in the calculator plug-in,
So that the following would be possible:

a=(1 + 1/3) * 100
a=round(a)
a=133

---
running zim 0.59 on Ubuntu

description: updated
tags: removed: math plug-in
Changed in zim:
status: New → Confirmed
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers