add configuration option for decimals