Namespace: OpenEdge.Core.Util
Class
MathUtil
Parent classes:
Progress.Lang.Object

Inherits: Progress.Lang.Object

Copyright (c) 2014 by Progress Software Corporation. All rights reserved.
File:MathUtil
Purpose:General-purpose math functionality.
Author(s):pjudge
Created:Thu May 15 14:44:19 EDT 2014




Method Summary
Options Name Purpose
INTEGER Ceiling (decimal) /** Return a ceiling value (a always-round-up value). So, 2.1 returns 3 1.9 returns 2 5.0 returns 5 @param decimal The value to adjust @return integer The ceiling value */
INTEGER HexToInt (character) /** Converts hex to integer values @param character A hex value @return integer The integer representation of that hex value. */


Method Detail
Top

INTEGER Ceiling (decimal)

Purpose: Return a ceiling value (a always-round-up value).
So,
2.1 returns 3
1.9 returns 2
5.0 returns 5
Parameters:
pdVal DECIMAL
Returns INTEGER
integer The ceiling value
Top

INTEGER HexToInt (character)

Purpose: Converts hex to integer values
Parameters:
pcHex CHARACTER
Returns INTEGER
integer The integer representation of that hex value.


Copyright © 2017 Progress Software Corporation. All rights Reserved.

Progress® OpenEdge® Release 11.7