ASKSAGE: Sage Q&A Forum - Latest question feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Thu, 18 Aug 2016 07:56:52 -0500x.digits() for x decimalhttps://ask.sagemath.org/question/34515/xdigits-for-x-decimal/Let
sage: x=1416
sage: v=x.digits()
sage: v.reverse(); v
gives
[1, 4, 1, 6]
That doesn't work for x decimal, as x=3.1416
I would like to have [3, 1, 4, 1, 6] as result in a simple way.logomathThu, 18 Aug 2016 07:56:52 -0500https://ask.sagemath.org/question/34515/