CAS 6


cumrnd
- Arithmetic

Summary

Round a field to nearest multiple of left argument so that the cumulative sums of the rounded values equals the rounded value of the cumulative sums.

Description

Reference: Benkard, J. P. 'A Dance of Rounds', APL91 Conference Proceedings

Examples

1 cumrnd .1 .4 .7 .4 .2 .1 .6 .3

Syntax

(RoundingMultiple) cumrnd NumField

Left Arguments

Name Data Type Input Type Description Optional Default
RoundingMultiple Numeric Field, Constant Rounding multiple Yes 1

Right Arguments

Name Data Type Input Type Description Optional Default
NumField Numeric Field, Constant Data No

Result

Type: Numeric





Build 6.0.624