Sorry, I didn't read the whole thread, but why not use the right operators?

    g = 9.81 * m / s ** 2

-- 
<lay trum/>