extracting the first N digits of a number



Barton Willis wrote:

> 
> -----maxima-admin@math.utexas.edu wrote: -----
> 
> 
>>(1) is there a function in Maxima to extract
>>the first N digits in the decimal representation
>>of a number?
> 
> 
> I don't think so.

Try this....
h: string(1.0/3);

?subseq(?symbol\-name(h),1,6);

Do you want a string? Or something else?

RJF