Los valores no se calculan correctamente cuando se especifica "0" para el "Número de decimales a redondear".
The Number of decimal places to round and Rounding settings specified in Misc settings are also applied to values in formulas.
Field name and field code | Tipo de campo | Fórmula |
---|---|---|
Precio sin impuestos (tax_excluded_price) | Número | - |
Precio con impuestos incluidos (tax_included_price) | Calculado | precio_excluido_impuesto*1.1 |
In this example,"100" entered in the "Tax-excluded price" field will be displayed as follows.
- If "2" is specified as the Number of decimal places to round, "110" will be displayed in the "Tax-included price" field.
- If "0" is specified as the Number of decimal places to round, "100" will be displayed in the "Tax-included price" field.
* The formula for the "Tax-included price" field is "tax_excluded_price*1".
If you have specified "0" as the Number of decimal places to round and want to display "110" in the "Tax-included price" field, you need to set the formula for the "Tax-included price" field as "tax_excluded_price*110/100".