On 23 mar, 20:34, Dan Drake <[email protected]> wrote:

>
> \begin{sagesilent}
>   def numprint(x):
>     return x.str().replace('.', ',')
> \end{sagesilent}
>
> and then use \sage{numprint(x)}, which is a bit nicer.

Hi,
Thanks for your suggestion. But,
 - this function change the number of significant figures
 - \sage{numprint(1.234)} is printed like \texttt{1,234}

Daniel
P.S. : Thanks for the ticket  (http://trac.sagemath.org/sage_trac/
ticket/8594)


-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

To unsubscribe from this group, send email to 
sage-support+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to