Previous Topic

Next Topic

Ratio - SQL Function

Ratio(A: Number, B: Number): Number

Calculates the ratio of two numbers as follows,

Ratio(A,B) = A/B.

Divide by zero returns zero.

Ratio function syntax has these named arguments:

Parameter

Description

A

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

B

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

See Also

SQL Number Functions

Book Contents

Book Index