Grooper Help - Version 25.0
25.0.0017 2,127
  • Overview
  • Help Status

Storage Type Numeric

Storage Type Ranged Grooper.Core

Base class for all numeric storage types used by Data Fields, Extractor Nodes, and Value Extractors.

Remarks

StorageTypeNumeric provides a foundation for numeric value handling in Grooper, supporting a wide range of input and output formats, validation, and normalization options.

Overview

Numeric storage types are used to represent integer, decimal, and floating-point values. This class enables:

  • Parsing of numbers from various input styles and formats.
  • Support for alternate numeric representations (such as fractions, longhand, roman numerals, and mathematical expressions).
  • Custom input parsing using regular expressions.
  • Output formatting and normalization using standard or custom numeric format strings.

Usage

  • Assign a numeric storage type to a Data Field to control how numeric values are interpreted and displayed.
  • Configure input styles and alternate formats to match the expected data sources.
  • Use the 'Format Specifier' property to control how values are normalized and displayed.

Example

To accept both standard numbers and fractions as input, and display values as currency:

  • Set 'Alternate Input Formats' to include Fraction.
  • Set 'Format Specifier' to c2 for currency with two decimal places.

For more information, see the documentation for Data Fields and Storage Types.

Properties

NameTypeDescription
General
Input
Output
Range

Derived Types

There are 5 implementations of Storage Type Numeric.

Decimal Represents a decimal (floating-point) numeric value for use in Data Fields and related objects.
Double Represents a 64-bit floating-point (double) value for use in Data Fields and related objects.
Int16 Represents a 16-bit signed integer value for use in Data Fields and related objects.
Int32 Represents a 32-bit signed integer value for use in Data Fields and related objects.
Int64 Represents a 64-bit signed integer value for use in Data Fields and related objects.

See Also

Used By

Notification