SigFigs.mdb (beginner)

Please consider donating $1 per sample downloaded, find out why here
Access 97 (18 KB)

This example illustrates how to round a number to a specified number of significant figures.

Significant figures requires two functions:

1) A function to find where the sigfig should be. "sig_fig_convert()" returns the offset from the decimal point where the number should be rounded. Parameters include the number needing rounding and the number of sig figs.

2) A function to round to that point. "round()" does the rounding to the specified sigfigs. Its parameters are the number needing rounding and the results of the sig_fig_convert() function.




Need Winzip?

Return to Main Page