# 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://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2FpFsnMzUkRB3JtMq93fbe%2F0.png?alt=media)

### **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://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2FsPRGjCft8V5lddmAAApS%2F1.png?alt=media" 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://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2FzBRSDH1FRKXZAKLZCaNb%2F2.png?alt=media)
