> ## Documentation Index
> Fetch the complete documentation index at: https://docs.alumio.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Type: Numeric

> Checks that the value is numeric.

export const FormField = ({property, label, required = false, diType, uiPatterns, children}) => {
  const patterns = Array.isArray(uiPatterns) ? uiPatterns : uiPatterns ? [uiPatterns] : [];
  return <div style={{
    margin: '1.5rem 0'
  }}>
      <div style={{
    display: 'flex',
    alignItems: 'baseline',
    flexWrap: 'wrap',
    gap: '0.5rem',
    marginBottom: '0.25rem'
  }}>
        <strong>{label}</strong>
        <span style={{
    fontSize: '0.7rem',
    fontWeight: 600,
    textTransform: 'uppercase',
    letterSpacing: '0.04em',
    color: required ? '#6241f5' : '#6b7280'
  }}>
          {required ? 'Required' : 'Optional'}
        </span>
      </div>

      <div>{children}</div>

      {diType || patterns.length > 0 ? <p style={{
    fontSize: '0.85rem',
    color: '#6b7280',
    marginBottom: 0
  }}>
          {diType ? <>
              See the <a href={`/references/${diType}`}>{diType}</a> reference.{' '}
            </> : null}
          {patterns.length > 0 ? <>
              Accepts a <a href={`/documentation/placeholders-and-patterns/patterns#${patterns[0]}`}>pattern</a>.
            </> : null}
        </p> : null}
    </div>;
};

Checks whether the incoming value is a number. Use this wherever a step needs to confirm a value is a number before acting on it, for example to skip a record whose price or quantity came through as something other than a number. A value matches whether it is a whole number like `42`, a decimal like `3.14`, or a number written as text like `"42"` or `"3.14"`. Anything that does not represent a number, such as the word `"twelve"`, an empty value, or a true/false value, does not match. This condition has no settings: it looks at whatever value it is given and reports whether that value is a number.

This documentation describes: [Schema](/schemas/condition/type-numeric)

## Fields

This condition has no settings of its own.

## Sample data

This checks each entity's `value` field.

| Incoming value                          | Result         |
| --------------------------------------- | -------------- |
| `42` (a whole number)                   | Matches        |
| `19.99` (a decimal number)              | Matches        |
| `"42"` (a whole number written as text) | Matches        |
| `"19.99"` (a decimal written as text)   | Matches        |
| `"hello"` (text)                        | Does not match |
| `true` (an on/off value)                | Does not match |
| `null` (no value)                       | Does not match |

This is the broadest of the number checks. Use [Type: Integer](/references/condition/type-integer) when you need whole numbers only, or [Type: Float](/references/condition/type-float) when you need genuine decimal numbers only.

```json Configuration theme={null}
{
  "prototype": "type-numeric",
  "parameters": {}
}
```
