Hello,
I have been looking into the sympy documentation for help on units
conversions but haven't found an answer. Let's say I have:
from sympy.physics.units import *
distance = 5 * m
how do I convert 'distance' to feet? Something like this would be great:
distance << 'ft'
or...
distance = distance.convert_to('ft')
Neither of these work, but I have a hunch there must be something. Any
pointers would be much appreciated.
Cheers,
Jason
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/sympy/-/11-Eoqb8x-4J.
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.