# Double Nodes

![](/files/j2ZAqubTYq8ZGVpqmFvT)

### Double | Floor Node

![](/files/v2OwXa9TmDUEoP1DzHEj)

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.

#### Components of Node

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.

### Double | Ceil Node

![](/files/mZJW2OSqBwJzPuFGyygV)

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.

### Double | Round Node

![](/files/shhTzxqpz6JQ1Wm54rCC)

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.

#### Components of Node

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.

### Double | Abs Node

![](/files/0o5Mf0U6q1KEwIfdwXa1)

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.

#### Components of Node

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.

### Double | Is Negative Node

![](/files/C0MdVJdce6xLbpSoYEDZ)

This node helps you to check whether the provided number \[decimal number] is negative or not.

#### Components of Node

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.

### Double|To Int Node

![](/files/70yyeJNh7sEMM2fVJzN9)

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.

#### Components of Node

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](https://discord.com/channels/940632966093234176/965313562425823303)

## Music to go with.

{% embed url="<https://open.spotify.com/playlist/0vvXsWCC9xrXsKd4FyS8kM?si=2c7f55bd3f944878>" %}
Lofi music
{% endembed %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.blup.in/wiki/logics/helper-nodes/double-nodes.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
