Return type:
Access:
Applies to:
DecimalHelper:Create ( method-parameters )Table 130 describes the Create( ) method overloads for initializing DECIMAL values.
Create( INPUT value AS DECIMAL (DOUBLE) ) Create( INPUT value AS INTEGER ) Create( INPUT value AS INTEGER EXTENT 4 ) Create( INPUT value AS INT64 ) Create( INPUT value AS DECIMAL (FLOAT) ) Create( INPUT value AS INT64
(UNSIGNED-INTEGER) ) Create( INPUT value AS DECIMAL(UNSIGNED-INT64) ) Create( INPUT lo AS INTEGER,INPUT mid AS INTEGER,INPUT hi AS INTEGER,INPUT isNegative AS LOGICAL,INPUT scale AS INTEGER(UNSIGNED-BYTE) )
USING Progress.Util.* FROM ASSEMBLY.DEFINE VARIABLE aDecimal AS DECIMAL NO-UNDO.aDecimal = DecimalHelper:Create( 2345, 0, 0, FALSE, 2 ).Display aDecimal.
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates. |