Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to round to 3 significant figures in python

rounded_number =  round(a_number, significant_digits - int(math.floor(math.log10(abs(a_number)))) - 1)
Source by www.kite.com #
 
PREVIOUS NEXT
Tagged: #significant #figures #python
ADD COMMENT
Topic
Name
1+9 =