

 Amazon Redshift will no longer support the creation of new Python UDFs starting Patch 198. Existing Python UDFs will continue to function until June 30, 2026. For more information, see the [ blog post ](https://aws.amazon.com/blogs/big-data/amazon-redshift-python-user-defined-functions-will-reach-end-of-support-after-june-30-2026/). 

# IS\$1DECIMAL function
<a name="r_is_decimal"></a>

Checks whether a value is a `DECIMAL`. The IS\$1DECIMAL function returns `true` for numbers that are not floating points. The function returns `false` for any other values, including null. 

The IS\$1DECIMAL function is a superset of IS\$1BIGINT.

## Syntax
<a name="r_is_decimal-synopsis"></a>

```
IS_DECIMAL(super_expression)
```

## Arguments
<a name="r_is_decimal-arguments"></a>

*super\$1expression*  
A `SUPER` expression or column.

## Return type
<a name="r_is_decimal-returns"></a>

`BOOLEAN`

## Examples
<a name="r_is_decimal_example"></a>

To check if `1.22` is a `DECIMAL` using the IS\$1DECIMAL function, use the following example.

```
CREATE TABLE t(s SUPER);

INSERT INTO t VALUES (1.22);

SELECT s, IS_DECIMAL(s) FROM t;

+------+------------+
|  s   | is_decimal |
+------+------------+
| 1.22 | true       |
+------+------------+
```