Added trailing zero visibility control for FormattingUtil 90/2490/1
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Fri, 23 Nov 2018 08:55:50 +0000 (10:55 +0200)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Fri, 23 Nov 2018 08:55:50 +0000 (10:55 +0200)
commitfccd5bec4ca9bbd9bdf547b304ae00e43730502c
tree7ec73665c525e28e624c7de47c7381f596ac97d9
parentd14bfb83fddf30539f401de54ce9f61bd0aff25c
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
bundles/org.simantics.utils/src/org/simantics/utils/format/FormattingUtil.java