1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

The most important thing in script when doing math.

Discussion in 'Alibre Script' started by NateLiqGrav, Jan 5, 2021.

  1. NateLiqGrav

    NateLiqGrav Alibre Super User

    Put the following code at the very top of your scripts or division will not work as most humans expect.
    Code:
    from __future__ import division
    See https://www.python.org/dev/peps/pep-0238/ for more info.

    Maybe this should be stickied?
     

Share This Page