PCT
<< Click to Display Table of Contents >> Navigation: ThinBASIC Core Language > BuiltIn Functions > Numeric functions > PCT |
Description
Return the % of Value1 against Value2.
Syntax
n = PCT(Value1, Value2 [, NumberOfDecimalPlaces])
Returns
Number
Parameters
Name |
Type |
Optional |
Meaning |
Value1 |
Numeric |
No |
|
Value2 |
Numeric |
No |
|
NumberOfDecimalPlaces |
Numeric |
Yes |
If present, returned value will be fixed to the number of decimal places indicated |
Remarks
Restrictions
See also
Examples