Extracting only the integral (or fractional) part of a number

Eduardo M Kalinowski ekalin at iname.com
Fri Dec 8 19:25:20 CET 2000


Hi,

    I have another question: how can I extract only the integral (or
fractional) part of a number? ie, how to get "3" and "0.141593" from
"3.141593"?

--
Common sense is the collection of prejudices acquired by age eighteen.
                -- Albert Einstein

Eduardo M Kalinowski     (ekalin at iname.com)
http://move.to/hpkb      http://cami-ufpr.hpg.com.br




-
To UNSUBSCRIBE, email to ginac-list at ginac.de with a subject of "unsubscribe".



More information about the GiNaC-list mailing list