]> gerrit.simantics Code Review - simantics/platform.git/commit
Added trailing zero visibility control for FormattingUtil 70/2670/1
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Fri, 23 Nov 2018 08:55:50 +0000 (10:55 +0200)
committerMarko Luukkainen <marko.luukkainen@semantum.fi>
Thu, 21 Feb 2019 17:53:03 +0000 (17:53 +0000)
commite63480522e3e440e253d177fa4d3a6875a27cf82
tree3df22d2101ce782abf927b5de5e2ceed9e06d6a4
parentf1b1b20812eaf1f5215e848b8e746ce97d132f0f
Added trailing zero visibility control for FormattingUtil

Also fixed some bugs in constructing the formatters with designated
smaller amount of significant digits.

High-value formatter selection was made a bit more complex by the
trailing zeroes option.

gitlab #213

Change-Id: I9e1b159940d4058a21d6cad5080892b6e1ed2d6c
(cherry picked from commit fccd5bec4ca9bbd9bdf547b304ae00e43730502c)
bundles/org.simantics.utils/src/org/simantics/utils/format/FormattingUtil.java