pymel.util.trunc

static util.trunc(*args, **kwargs)

trunc(x:Real) -> Integral

Truncates x to the nearest Integral toward 0. Uses the __trunc__ magic method. This function has been overriden from math.trunc to work element-wise on iterables

Previous topic

pymel.util.toZip

Next topic

pymel.util.uncapitalize

Core

Core Modules

Other Modules

This Page