Unit Conversion problem

Hello Guys…!
I have created a script that get a value from the user in the data shape multiple form++ node
and uses the value to offset a geometry surface that is in dynamo,Now I am struck with the unit conversions I have made it to work with mm and works perfectly but once i use it in a project with feet and fractional inches it creates a mess.
Is there any node to convert an input from known unit to project unit?In short looking for something like this.