Home Forums Product Configurator Rounding of Quantity on choice Reply To: Rounding of Quantity on choice

Terri Vaive
    Post count: 154

    Hello Mads,

    One approach is to have 2 Options, one to capture the user input and another for the calculated rounded value.

    For example:

    1. HEIGHT Option with HEIGHT Choice selected, the user would enter the unrounded quantity (e.g., user enters 1.276)
    2. HEIGHTRND Option with HEIGHT Choice selected and the formula ROUND(HEIGHT;0.01) as its “Child Qty. Calculation Formula” (e.g., to round the entered 1.276 for the HEIGHT Option to 2 decimal places, the result will be 1.28 for the HEIGHTRND Option)

    The “Child Qty. Calculation Formula” is explained here: https://kb.dmsiworks.com/knowledge-base/configurator-option-choice/

    Available formulas here: https://kb.dmsiworks.com/knowledge-base/expression-evaluator/

    Thank you,