Go To Documentation Main IndexMain Index
Go To TIPS, Inc.TIPS Home
frac_2_dec

frac_2_dec (routine)

Convert a whole number and a given fraction to a decimal number (i.e., 100.16 = 100.25 where 64 is the given fraction)

Introduced in release: 1.0
Component: Generic
Purpose: Convert a whole number and a fraction after the decimal into a decimal number . The variable denom allows you to specify the denominator of the fraction given. Ex. fractional number = 100.08, denom = 32, result = 100. 25 (Inverse of function frac_2_dec)

Results: The decimal number is returned as the value of the function.

Error Conditions: No error checking is done.

Last Mod Date: 07/24/1992© 2001 TIPS, Inc.Doc Version: 5.0