Add defaultDecimals to ctkUtils::significantDecimals

Fix setValueIfDifferent when only the number of decimals is different.
Merge branch '348-order-of-magnitude-infinite-loop'

* 348-order-of-magnitude-infinite-loop:
  Add defaultDecimals to ctkUtils::significantDecimals