python to the rescue:

 >>> round( 1.24343, 2)
1.24


On Feb 24, 2009, at 7:31 PM, barakooda wrote:

>
> for example i have A=(1.2323,1.3232,1.454
>
> i`m looking for automate function that will output same A but with 2
> decimal points less
>
> the new A will be:
> 1.2,1.3,1.4)
>
> i can do it manually but in my script  it wont be fun at all :-)
> thank you !!!
>
> >


--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/python_inside_maya
-~----------~----~----~----~------~----~------~--~---

Reply via email to