Is there a cleaner way to convert an expression to float ?

Francois Maltey <[email protected]>
Newsgroups gmane.comp.mathematics.axiom.general
Message-ID <[email protected]>
Hello, 

How can I convert an expression as sin (%pi/5) to a float ?

I can use sin (%pi/5) + 0.0, but I find it's a dirty tick !

(sin (%pi/5))::Float doesn't work.

I refuse to go inside the formula and type : sin (%pi/5::Float).

Is there an other ability ?

François, from France.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.