Create( ) method (DECIMAL)
- Last Updated: February 11, 2026
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
(Windows only; .NET)
Use this set of Create( ) method overloads to initialize DECIMAL values in ABL.
Note: This
method is used primarily by the Visual Designer during code generation.
You should not expect to use this method directly.
Return type: DECIMAL
Access: PUBLIC STATIC
Applies to: Progress.Util.DecimalHelper class
Syntax
|
- method-parameters
- A CHARACTER expression that contains one or more parameters for
this method (based on the method overload).
The following table describes the Create( ) method overloads for initializing DECIMAL values.
Table 1. Create( ) method overloads for DECIMAL values Method overload syntax Description Create( INPUT value AS DECIMAL (DOUBLE) )Returns a DECIMAL initialized to the value of the specified double-precision floating-point number Create( INPUT value AS INTEGER )Returns a DECIMAL initialized to the value of the specified integer value Create( INPUT value AS INTEGER EXTENT 4 )Returns a DECIMAL initialized to a decimal value represented in binary and contained in a specified array Create( INPUT value AS INT64 )Returns a DECIMAL initialized to the value of the specified integer value Create( INPUT value AS DECIMAL (FLOAT) )Returns a DECIMAL initialized to the value of the specified single-precision floating-point number Create( INPUT value AS INT64 (UNSIGNED-INTEGER) )Returns a DECIMAL initialized to the value of the specified unsigned integer value Create( INPUT value AS DECIMAL (UNSIGNED-INT64) )Returns a DECIMAL initialized to the value of the specified unsigned integer value Create( INPUT lo AS INTEGER, INPUT mid AS INTEGER, INPUT hi AS INTEGER, INPUT isNegative AS LOGICAL, INPUT scale AS INTEGER (UNSIGNED-BYTE) )Returns a DECIMAL initialized from parameters specifying its constituent parts
The following example uses this method to initialize a DECIMAL variable with the value 23.45, and then displays the result:
|