This topic has not yet been rated - Rate this topic

pt Function

Retrieves the sum of a number plus a specified percentage of that number.


real pt(real amount, real percentage)

Parameter

Description

amount

The original number.

percentage

The percentage supplement.

The number equal to ((amountxpercentage) +amount).

  • pt(2000.0,0.10); //Returns the value 2200.0.

  • pt(20.0,0.10); //Returns the value 22.0.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ