Namespace: OpenEdge.Core
Type: Class Decimal
Parent Classes:
Progress.Lang.Object

Inherits: Progress.Lang.Object
Implements: Ccs.Common.Support.IDecimalHolder


Copyright (c) 2016, 2019, 2022 by Progress Software Corporation. All rights reserved.
File:Decimal
Purpose:Holds (wraps) an ABL primitive DECIMAL value.
Author(s):pjudge
Created:Mon Jun 06 12:27:33 EDT 2016
Notes:* The wrapped value is immutable
/* The primitive ABL value



Method Summary
  Options Name Purpose
  INTEGER CompareTo (IDecimalHolder) /* Comparison method, used by SortedSet's default comparer - If the returned value is less than 0 (zero), then the current object sorts before the object passed in. - If the returned value equals 0 (zero) , then the current object occupies the same position in the sort order. - If the returned value is greater than 0(zero), then the current object sorts after the object passed in. - If either object's Value is the unknown value (?), then that sorts high/early/before @param IDecimalHolder The object to compare to. @return integer 0 = same object +1 = sorts after -1 = sorts before */
  LOGICAL Equals (Object)
  CHARACTER ToString ()

Constructor Summary
  Options Name Purpose
  Decimal (decimal) /* Constructor. @param decimal The wrapped value. */

Property Summary
  Options Name Purpose
  DECIMAL Value


Method Detail
Top

INTEGER CompareTo (IDecimalHolder)

/* Comparison method, used by SortedSet's default comparer
- If the returned value is less than 0 (zero), then the current object sorts before the object passed in.
- If the returned value equals 0 (zero) , then the current object occupies the same position in the sort order.
- If the returned value is greater than 0(zero), then the current object sorts after the object passed in.
- If either object's Value is the unknown value (?), then that sorts high/early/before
+1 = sorts after
-1 = sorts before
Parameters:
pOther Ccs.Common.Support.IDecimalHolder
 
Returns INTEGER
  integer 0 = same object
Top

LOGICAL Equals (Object)

Parameters:
PO Progress.Lang.Object
 
Returns LOGICAL
 
Top

CHARACTER ToString ()

Returns CHARACTER
 


Constructor Detail
Top

Decimal (decimal)

/* Constructor.
Parameters:
pdVal DECIMAL
 


Property Detail
Top

DECIMAL Value

Returns DECIMAL