Digit extracting routine

June 8, 2007

Here’s a little routine that will extract digits out of a number in Ans, including the decimal and the whole number part.

seq(int(E2fPart(Ans)/10^(2X))),X,-3,4

When this code runs, it will output the digits extracted from Ans in list form.

Entry Filed under: Routines. .

Leave a Comment

hidden

Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Trackback this post  |  Subscribe to the comments via RSS Feed


View

Links

Archives

Account