>>> from sympy.physics.units import * >>> 5*m 5*m >>> _/ft 6250/381 >>> round(_, 2) 16.4 >>> 5*m/s 5*m/s
And don't forget to put compound units in parentheses: >>> _/ ( mi/hour ) 15625/1397 >>> round(_, 2) 11.18 >>> Chris -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sympy?hl=en.
