Zim

arithmetic result shows a lot of unnecessary decimal places

Bug #1131921 reported by Oliver Hahn
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Zim
Confirmed
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

Tags: arithmetic
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.