AguaClara / aguaclara_tutorial

This repository is for all team members to find information and tutorials about useful tools like Python, Atom, Hydrogen, GitHub, and report writing.
https://aguaclara.github.io/aguaclara_tutorial/
3 stars 75 forks source link

sigfig is depricated #4

Closed monroews closed 6 years ago

monroews commented 6 years ago

I believe that we are no longer using the sigfig function. Turns out that pint has a built in feature for controlling significant figures. Unfortunately I don't recall how the pint code works.

kevinjuan25 commented 6 years ago

@monroews Finally found the answer to this courtesy of Ethan on StackOverflow

eak24 commented 6 years ago

@kevinjuan25 Sorry for the hunt effort! I already put this into the code by default... see here. There is a default setting of 4 figures, or you can specify a number of sigfigs.