significant figure

How to set significant figures? I applied some formulas to calculate and the result shows too many

sig. figs. I only need 3, any easier ways to set it up? Thanks

Posted on Jan 30, 2013 1:26 PM

Reply
Question marked as Top-ranking reply

Posted on Jan 31, 2013 6:25 AM

If the question is truly about significant figures and not decimal places,


=ROUND(value,sigfigs-(INT(LOG(ABS(value))+1))


An example for 3 significant digits of the value in cell A2:


=ROUND(A2,3-(INT(LOG(ABS(A2))+1)))


There isn't much to find on the Internet about Apple's Numbers app but plenty out there on Excel. Often the Excel stuff can be applied to Numbers. That's where this formula came from.


From some testing, it isn't perfect in it's rounding on decimals but that seems to be an issue related to IEEE floating point math, not the formula itself. For example, 0.01245 and 0.01235 will both get turned into 0.0124. The same thing happens if you simply ROUND those numbers to 4 decimal places.

10 replies
Question marked as Top-ranking reply

Jan 31, 2013 6:25 AM in response to iceywxh

If the question is truly about significant figures and not decimal places,


=ROUND(value,sigfigs-(INT(LOG(ABS(value))+1))


An example for 3 significant digits of the value in cell A2:


=ROUND(A2,3-(INT(LOG(ABS(A2))+1)))


There isn't much to find on the Internet about Apple's Numbers app but plenty out there on Excel. Often the Excel stuff can be applied to Numbers. That's where this formula came from.


From some testing, it isn't perfect in it's rounding on decimals but that seems to be an issue related to IEEE floating point math, not the formula itself. For example, 0.01245 and 0.01235 will both get turned into 0.0124. The same thing happens if you simply ROUND those numbers to 4 decimal places.

Jan 31, 2013 2:13 AM in response to iceywxh

Some examples of the expected results would be useful in determining how to go about achieving your goal.


All examples in this list have three significant figures:


User uploaded file

Do your expected results span this range of place values? More? Less?

The display of results here is achieved using a custom format, but display does not include calculating the results, which is where the answer to my question comes into play.


Note: The one thing I dislike about this format (besides the necessity to use a mono-spaced font) is the lack of a leading zero on the bottom four numbers.


Regards,

Barry

Jan 31, 2013 11:40 AM in response to iceywxh

Hello


If it's just a matter of display, you may use scientific notation with appropriate decimal places.


E.g., for displaying 3 significant figures, set {cell format = scientific, decimals = 2} in Inspector > Cells and you'll get -


1.23E+02 for 123.456

4.57E-04 for 0.00045678

etc.


* Note that this is only for display and the real value stored in cell is not modified.


Regards,

H

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

significant figure

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.