nasa / trick

Trick Simulation Environment. Trick provides a common set of simulation capabilities and utilities to build simulations automatically.
Other
32 stars 16 forks source link

Format "Rounded" added to TVDouble for Issue #1616 Resolution #1620

Closed yusufcananar closed 7 months ago

yusufcananar commented 9 months ago

In TV, TVDouble Format, Rounded added. It can round up to .2f
It is a workaround for Issue #1616

sharmeye commented 8 months ago

Thanks for the input. The issue here is that rounding to two digits is not the only desired rounding accuracy. We would consider something along these lines if the user could maybe set their desired rounding accuracy in the gui somewhere, dynamically updating the displayed values depending on what the user selected.

yusufcananar commented 8 months ago

Thanks for the comment. I was also aware that rounding to x digits would be more convenient but I wasnt sure where to add such gui element. I could also look into it to set the rounding digits somewhere in the gui.

sharmeye commented 7 months ago

Thanks, we'll close this request for now and if you have any updates as we discussed then we're happy to reopen and review.