CAS 6


wa
- Summary

Summary

Weighted average of a field or expression

Examples

wa RATE CURBAL
wa ORIGRATE ORIGBAL 
wa (SPREAD+INDEX) CURBAL 
wa RATE CURBAL (RATETYPE in 'F')

Syntax

wa NumField Weight (SelectionStatement)

Right Arguments

Name Data Type Input Type Description Optional Default
NumField Numeric Field, Constant Data No
Weight Numeric Field, Constant Weight or size of each datum Yes 1
SelectionStatement Boolean Field Expression to select records that will be applied to the calculation. Yes 1

Result

Type: Numeric





Build 6.0.624