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

Decimal

Storage Type Numeric Grooper.Core

Represents a decimal (floating-point) numeric value for use in Data Fields and related objects.

Remarks

The Decimal class provides robust support for capturing, validating, and formatting decimal values, including currency, percentages, and other precise numeric data.

Overview

  • Used to store and process decimal (floating-point) numbers in Data Fields and extraction objects.
  • Supports parsing of standard decimal values as well as percentage values (e.g., "12.5%").
  • Provides culture-aware formatting and normalization using the 'Format Specifier' property.

Usage

  • Assign this storage type to a Data Field to capture values such as currency, measurements, or any data requiring decimal precision.
  • Configure input styles, alternate input formats, and custom input formats to match the expected data sources.
  • Use the 'Format Specifier' property to control how values are displayed and normalized, such as specifying the number of decimal places or formatting as currency.
  • Percentage values (e.g., "25%") are automatically parsed and converted to their decimal equivalent (e.g., 0.25).
  • All parsing and formatting operations are culture-aware, using the configured input and output cultures to interpret decimal separators and digit grouping.

> [!TIP] > Use this class for any scenario requiring precise decimal handling, such as financial data, scientific measurements, or calculations involving fractions and percentages.

Properties

NameTypeDescription
General
Input
Output
Range

See Also

Used By

Notification