"Round to the value" option in Variable feature

When using expressions for part studio varible definition you often want a rounded value but all you can now is to use roundToPrecision() function from standart library. It is not only too long to type in a small text field of variable feature, but also it has no overloads for values with units. Parametric capabilities given by variables are significantly reduced by not having a direct way to get rounded value. So please add a checkbox "Round to the value" and an input field with the value to round up to. The formula should be universal for values with units and unitless, and shouldn't depend on units itself - for example value = round(value/roundStep)*roundStep, and should post process any result of expression, assigned to variable if "Round to the value" checked.

@mbartlett21 I could, but it is not documented, it has no overloads for values with units, and it still consumes the area of input field, so I'm for GUI option. I would even want to see this round functionality in any numeric input field but it would requare to implement something like NX measuring tool, which could be called for any numeric input field, just like create selection utility for query fields.

@konstantin_shiriazdanov Are you looking for how to round directly in expressions or are you wanting something different. In FS we have the round that @mbartlett21 mentioned and we also have round in expressions.

@lougallo I'm about to have a checkbox in Variable feature to round result of inserted expression up to user defined round step. Now I find how do round expression in FS but I would like to avoid typind additional text in the single non resizable input field.