Double Nodes
Manage and use double data type nodes in Blup for numeric operations and calculations.
Last updated
Manage and use double data type nodes in Blup for numeric operations and calculations.
Last updated
This node returns the largest integer that is smaller than or equal to the input double number (i.e., rounds down to the nearest integer). For example, if the input number is 2.31, the result is 2.
1. Value – Input node providing the double number to apply the floor operation on. You can also directly input the number into the box.
2. Result – Output node returning the integer number after applying the floor operation on the double number.
This node returns the smallest integer that is greater than or equal to the input number (i.e., rounds up to the nearest integer). For example, if the input number is 2.31, the result is 3.
Components of Node
1. Value – Input node providing the double number to apply the ceil operation on. You can also directly input the number into the box.
2. Result – Output node returning the integer number after applying the ceil operation on the double number.
This node applies rounding to decimal numbers, simplifying them while keeping their value close to the original. For example, if the input number is 12.3124, the output is 12, and if the input is 12.5123, the output is 13.
1. Value – Input node providing the double number to apply the rounding operation on. You can also directly input the number into the box.
2. Result – Output node returning the double number after applying the rounding operation.
This node converts double (decimal point numbers) to their absolute form, ensuring that negative numbers are converted to positive.
For example, if the input number is -12.5123, the output is 12.5123.
1. Value – Input node providing the double number to convert to its absolute form (positive). You can also directly input the number into the box.
2. Result – Output node returning the positive number after applying the absolute value operation.
This node helps you to check whether the provided number [decimal number] is negative or not.
1. Value – This input node provides the double number that you want to check for negativity. You can either connect another node to provide the number or directly enter the number in the input box.
2. Result – This output node gives true if the provided number is negative, otherwise it returns false.
This node converts a decimal number into an integer. For example, if the input number is '1.253', this node returns 1 as the result.
1. Value – This input node provides the double number that you want to convert to an integer. You can either connect another node to provide the number or directly enter the number in the input box.
2. Result – This output node gives the integer number after the conversion.
If you have any ideas to make Blup better you can share them through our Discord community channel