On Friday, July 17, 2015 at 11:20:15 PM UTC+2, Chris Smith wrote: > > Is this what you are looking for? > > >>> from sympy.ntheory.factor_ import digits > >>> digits(1234,20) > [20, 3, 1, 14] >
Thank you! So there really was something hidden in SymPy :) Unfortunately, as this is part of ntheory, it also cannot convert floats. -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/5ad0ebee-ceb3-46d0-88f4-5c81ba95c76e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
