Hi Mike,
Not sure why you get different results on the main and inported methods.
But to avoid this all together there is a provision to import the future division.
- The future division statement, spelled
from __future__ import division, will change the/operator to mean true division throughout the module.
source:
PEP 238 – Changing the Division Operator | peps.python.org.
I have all my scripts for Rhino starting like so:
# coding=utf-8
from __future__ import division
import rhinoscriptsyntax as rs
etc...a