Previous Topic

Next Topic

Percent - MaxBasic Function

Percent(A: Number, B: Number): Number

Calculates percentage from parameters as follows:

Percent(A,B) = (A/B)*100

Divide by zero returns zero.

Percent function syntax has these named arguments:

Parameter

Description

A

Required. Amount to be calculated as a percentage of Total B.

B

Required. Total amount to calculate Amount A as a percentage of.

See Also

Number Functions

Book Contents

Book Index