Hello, I'm working in sage 3.4.1.
I have a variable, x=6.12303176911189e-17, which I got from sage: x=graphs.PetersenGraph().get_pos()[0][0] I would like to ask sage to approximate te value of x up to two decimals, that is, 0.00. This is what I have tried sage: numerical_approx(x,digits=2) 6.1e-17 sage: n(x,digits=2) 6.1e-17 Is there a way of getting 0.00 as output? Thank you very much for your attention. Greetings, Fidel --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---