Method for automatically rounding data on the Wang 2200 in basic computer language.
Geophys Res Lett 1982 Feb; 9(2):120-123
The method described permits any set of numbers within an allowable range to be rounded to any number of significant figures. This is accomplished by generation of an array (rounding position) data bank, which is unique for each combination of the following variables: (1) chosen decimal position, (2) number range of the number to be rounded, and (3) number of significant figures to which this number is to be rounded. It is especially useful as a subroutine in programs that generate large quantities of figures (such as reserve or resource tonnages) that require rounding.
Scott F. Sibley, Section of Ferrous Metals, Bureau of Mines, U.S. Department of the Interior, Washington, D.C. 20241
OP; Journal Article
Geophysical Research Letters