Top "Significant-digits" questions

Significant digits are a way of describing the precision of measurements in a scale-independent way.

How to get excel to display a certain number of significant figures?

I am using excel and i want to display a value to a certain number of significant figures. I tried …

excel spreadsheet rounding significant-digits
Show decimal places and scientific notation on the axis of a matplotlib plot

I am plotting some big numbers with matplotlib in a pyqt program using python 2.7. I have a y-axis that ranges …

python matplotlib axis-labels significant-digits
Round a double to x significant figures

If I have a double (234.004223), etc., I would like to round this to x significant digits in C#. So far …

c# math rounding significant-digits
Rounding to an arbitrary number of significant digits

How can you round any number (not just integers > 0) to N significant digits? For example, if I want to …

algorithm rounding significant-digits
C++ significant figures

How can I do math involving significant figures in C++? I want this to work correct with measured data from …

c++ math rounding significant-digits
Round down a numeric

I have numeric's like this one: a <- -1.542045 And I want to round them down (or round up …

r significant-digits
Nicely representing a floating-point number in python

I want to represent a floating-point number as a string rounded to some number of significant digits, and never using …

python floating-point representation significant-digits
Round to n Significant Figures in SQL

I would like to be able to round a number to n significant figures in SQL. So: 123.456 rounded to 2sf …

sql sql-server tsql rounding significant-digits
Convert a number from stringstream to string with a set precision

I would like to obtain a number from stringstream and set it to 5 significant figures. How do I do this? …

c++ precision significant-digits
Rounding to n significant digits

I'm trying to write code in MATLAB that will round number to certain (as I ask) significant digits. I'm not …

matlab floating-point digits significant-digits