[sage-support] Re: Sage & Unum

2009-07-15 Thread Maurizio
thank you very much for sharing this! maurizio On 15 Lug, 21:47, dw wrote: > I was able to find a solution to my problem.  If anyone else wants to > do the same thing, I added the following function to  unum/__init_.py. > >    def round(self, sig_fig): >       ''' returns a string representatio

[sage-support] Re: Sage & Unum

2009-07-15 Thread dw
I was able to find a solution to my problem. If anyone else wants to do the same thing, I added the following function to unum/__init_.py. def round(self, sig_fig): ''' returns a string representation of the number w/ units showing only the set number of significant digits