Icon

Smart Rounding Example

The solution to a question raised in the KNIME Forum:
"I have to translate the SmartRound function (Returns (x) rounded to the nearest multiple of a value determined dynamically based on the size of (x).) from Alteryx to KNIME."

This will workflow implements the solution...

SmartRound in KNIME Raised in a forum post: "I have to translate the SmartRound function (Returns (x) rounded to the nearest multiple of avalue determined dynamically based on the size of (x).) from Alteryx to KNIME."This workflow will replicate the exact same behavior. It's multiplying the input value times 4, thenapplying rounding by 4 significant digets, then divided by result by 4 again.https://forum.knime.com/t/smartround-in-knime/41629 Table Creator Round Double Math Formula Math Formula SmartRound in KNIME Raised in a forum post: "I have to translate the SmartRound function (Returns (x) rounded to the nearest multiple of avalue determined dynamically based on the size of (x).) from Alteryx to KNIME."This workflow will replicate the exact same behavior. It's multiplying the input value times 4, thenapplying rounding by 4 significant digets, then divided by result by 4 again.https://forum.knime.com/t/smartround-in-knime/41629 Table Creator Round Double Math Formula Math Formula

Nodes

Extensions

Links