# IsRealNumber (AnyValue)

| **Name**    | ***IsRealNumber (Any Value)***                                                 |
| ----------- | ------------------------------------------------------------------------------ |
| Syntax      | IsRealNumber (Any value)                                                       |
| Purpose     | To check whether a given value represents a real number.                       |
| Description | Returns true if the specified value is a real number. Otherwise returns false. |
| Return Type | Boolean                                                                        |
| Parameters  | Value \[System.Object] – Value to be checked                                   |

![](https://content.gitbook.com/content/zEifS4h8yurLAAwiGNX2/blobs/WxbXpg7kSoXViNSvuPrD/0.png)

### **Example**

In this example, we will pass a string value, not a real number, to the function transformation object using a *Variables* object.

Where,

*value* = -√5

<figure><img src="https://content.gitbook.com/content/zEifS4h8yurLAAwiGNX2/blobs/rHkki8UImqv1deeUyiO5/1.png" alt=""><figcaption></figcaption></figure>

In the output window, you can see that the Boolean value, False, has been returned as the specified value is not a real number, rather an irrational value.

![](https://content.gitbook.com/content/zEifS4h8yurLAAwiGNX2/blobs/kG8BkyEKSQnQZvUvlGxL/2.png)
