ModelInference / perfume-frontend

Web-based frontend for Perfume tool
Other
1 stars 0 forks source link

Invariants are not being rounded #96

Closed bestchai closed 4 years ago

bestchai commented 4 years ago

What:
In the invariants tab, the upper and lower bounds are not being rounded. This issue rectifies that.

Why: It is easier to read the invariants without large trailing 0's.

[Issue created by stanleyrya: 2015-10-22] [Last updated on bitbucket: 2015-10-24]

[Comment created by stanleyrya: 2015-10-22] @ohmann:

Fixed what you suggested! It now rounds both the model and the invariants tab.

Changesets:
35efb95d2888, f68dabbfc50e

[Comment created by ohmann: 2015-10-22] I haven't had a chance to look at your commit yet, but I'd suggest there be a single rounding function that turns a double into a pretty string and that includes the trim-from-right strategy we discussed over email. Then both the model labels and invariants could be rounded using this function.

[Comment created by ohmann: 2015-10-24] Resolved in 39cc97db6280

[Comment created by stanleyrya: 2015-10-22] @ohmann:

Fixed!

Changesets:
5d143295a96e, f0fdcae18bc8