Round Filter

Navigation:  Widget Designer > Nodes > Filter Nodes > Math Filter Nodes >

Round Filter

prev main next

Navigation:  Widget Designer > Nodes > Filter Nodes > Math Filter Nodes >

Round Filter

prev main next

Loading...

This filter allows to round decimal values to a given amount of decimal places.

For Example: Input value 7.633 rounded to 1 digit results in the output value 7.6.

The node can be found under Nodes > Filter Nodes > Math > Round

wd_nodes_filter_round

Node Properties

Input:
Choose an input node from the drop-down or enter a numeric value.

Digits:
Enter the amount of decimal places.

Node control

With Widget Designer version 6, all nodes support so called node commands. Node commands access functions (i.e methods) from a node and / or set a parameter (i.e. property).

Enter "node", followed by the according ID and a dot and a list will pop up showing all available commands for the node. For instance, Node1.TintColor.SetRGB(125,0,255), colors the node in purple.
In addition, the node properties with a parameter ID (the small superscript number) can be edited via the command Node1.SetParam(ID,new Value) or WDNodeSetParam(NodeID,ParamID,Value).

Node output values

The Node generates the following output:

- Result