Dynamo python units

Hello ! I’ve always created family instances with the nodes, but now i need to do it with Python.
As a point to create instance i define Point = XYZ(0,50,0). I thought it would be 50 millimeters, but turns out - it feets. How can i convert units inside a script? (apart from dividing it by 304.8)
Thanks in advance!