]> gerrit.simantics Code Review - simantics/platform.git/commit
Make ValueFormat.toFormat safe to call with any noOfDecimals value 85/3285/1
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Thu, 26 Sep 2019 13:02:39 +0000 (16:02 +0300)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Thu, 26 Sep 2019 13:02:39 +0000 (16:02 +0300)
commit83249a1e50b8ea706fde5e3074856fbf5f9eb1ac
tree0c9d25a52cb119818c064b2a11420a39f9edc977
parent320ba0935d3adeffd32a0baaf8ab279a380646bd
Make ValueFormat.toFormat safe to call with any noOfDecimals value

noOfDecimals is now capped between [0,16].

gitlab #391

Change-Id: Id24752a908b65c261f02964ec18cdb8e759ea0d0
bundles/org.simantics.utils/src/org/simantics/utils/format/ValueFormat.java