home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HomeWare 14
/
HOMEWARE14.bin
/
prog
/
ks94an.arj
/
PRCNTIS.HDR
< prev
next >
Wrap
Text File
|
1994-04-24
|
686b
|
38 lines
/******************************************************************************
The Klipper Library, for CA-Clipper 5.x
Copyright (c), 1994, Wallace Information Systems Engineering
FUNCTION:
_PrcntOfIs( nVar1, nVar2 ) --> nPercent
PARAMETERS:
nVar1
nVar2
SHORT:
Returns "what is Var1 percent of Var2?"
DESCRIPTION:
_PrcntOfIs() returns: var1 is ?% of var2 (20 is ?% of 250)
NOTE:
EXAMPLE:
_PrcntOfIs(100,1000) // 10
_PrcntOfIs(100,100) // 100
_PrcntOfIs(20,100) // 20
_PrcntOfIs(5,80) // 6.25
_PrcntOfIs(50,0) // 0
******************************************************************************/