If you really want to keep track of precision in calculations, you
should check out the decimal module.

On Tue, Jan 5, 2010 at 5:55 PM, efecto <[email protected]> wrote:
> Hi guys.. I have another question.
> I want to clamp a float value with 8 digits to smaller number of
> digits.
>
> Example:
> 0.86194672985615151 -> 0.86194
>
> What's the best and the most efficient way to achieve this?
>
> Thanks.
>
> --
> http://groups.google.com/group/python_inside_maya
>
-- 
http://groups.google.com/group/python_inside_maya

Reply via email to