DecimalHelper:Create ( method-parameters )
|
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
|
USING Progress.Util.* FROM ASSEMBLY.
DEFINE VARIABLE aDecimal AS DECIMAL NO-UNDO. aDecimal = DecimalHelper:Create( 2345, 0, 0, FALSE, 2 ). Display aDecimal. |