Hi Nick, On Fri, Nov 12, 2010 at 5:56 AM, Nick Alexander <ncalexan...@gmail.com> wrote: > sage: ZZ([1, 2], base=3) > 7 > sage: ZZ([1, 2], base=3).digits(2) > [1, 1, 1] > > My opinion is that this is short and already well supported, and much > more general than the special function OP suggests.
Base conversion is an important topic that comes up many times on this and other lists. I think it's time to flesh out a tutorial on how to convert from one base to another. This is now ticket #10253: http://trac.sagemath.org/sage_trac/ticket/10253 -- Regards Minh Van Nguyen -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org