arithmetic.properties
来自「Sequoia ERP是一个真正的企业级开源ERP解决方案。它提供的模块包括:电」· PROPERTIES 代码 · 共 26 行
PROPERTIES
26 行
## Arithmetic properties for configuring BigDecimal calculations ## For setting decimal precision and rounding method of operations related to invoicesinvoice.decimals = 2invoice.rounding = ROUND_HALF_UP# For setting decimal precision and rounding method of operations related to orders,# such as shopping cart amounts and order amountsorder.decimals = 2order.rounding = ROUND_HALF_UP# For setting decimal precision and rounding method of operations related to customer accounts# such as Financial Accountsfinaccount.decimals = 2finaccount.rounding = ROUND_HALF_UP# Most companies would want their sales tax calculations ALWAYS to round up (ie, 100.081 becomes 100.09)# This could be ROUND_CEILING or ROUND_UP. (The difference is that ROUND_CEILING rounds towards positive infinity,# ROUND_UP away from zero. So, for 1.13, both ROUND_UP and ROUND_CEILING will round to 1.2, but for -1.13,# ROUND_UP gives you -1.2 and ROUND_CEILING -1.1.)salestax.calc.decimals = 3salestax.final.decimals = 2salestax.rounding = ROUND_HALF_UP
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?