Article ID: 124423 - Last Review: November 15, 2004 - Revision: 4.0 Works: How to Truncate Numbers in Works Without RoundingThis article was previously published under Q124423 On This PageSUMMARY
To truncate numbers without rounding in a Works for Windows spreadsheet or
database, use one of the following formulas
Spreadsheet: =INT(<Value or Cell Reference> * 10^<Digits>)/10^<Digits>
where <Value>, <Cell Reference>, or <Fieldname> is the number to be truncated. <Digits> is the desired number of places to the right of the decimal point.
Database: =INT(<Fieldname> * 10^<Digits>)/10^<Digits> NOTE: The caret ^ (SHIFT+6) is the exponential operator. EXAMPLETo truncate the number 12.34567 to two digits in a spreadsheet, do the following.
MORE INFORMATION
Works for Windows has a Round() function that will round a number to a
specific number of digits. To truncate the number without rounding, the
formula above must be used. For example, rounding the number 123.456 to two
significant digits equals 123.46, while truncating equals 123.45. Truncating can be useful when you want to avoid errors in calculations
caused by rounding.
APPLIES TO
| Article Translations
|

Back to the top
