]> gerrit.simantics Code Review - simantics/platform.git/commit
Make ValueFormat.toFormat safe to call with any noOfDecimals value 86/3286/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:11:45 +0000 (13:11 +0000)
commit3a1169e5b601f99d66cadaf398329fde9cc8e14a
tree93a46cc9638a6914f0e7647f1380eb590304cd64
parent29bf3f64e43ed153670dfeee6dd4b553d1543016
Make ValueFormat.toFormat safe to call with any noOfDecimals value

noOfDecimals is now capped between [0,16].

gitlab #391

Change-Id: Id24752a908b65c261f02964ec18cdb8e759ea0d0
(cherry picked from commit 83249a1e50b8ea706fde5e3074856fbf5f9eb1ac)
bundles/org.simantics.utils/src/org/simantics/utils/format/ValueFormat.java