Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Hello,
if the result is in feet, Is there a direct and simple way or a function to convert it to feet and inches?
For example L=6.33 feet L=6'-4"
Thanks,
Sam
Solved! Go to Solution.
Unfortunately Prime does not offer this way to display a length.
You would have to write and use a custom function to display it similar to the desired look.
Here is a simple (and limited) function which returns a string to display the desired result
For a different and more comprehensive approach on this you may have a look at the work of Fred Lusk
Unfortunately Prime does not offer this way to display a length.
You would have to write and use a custom function to display it similar to the desired look.
Here is a simple (and limited) function which returns a string to display the desired result
For a different and more comprehensive approach on this you may have a look at the work of Fred Lusk
Thank you, Werner!
Forgot to mention that Prime offers a unit (!!?) FIF
Its a bit buggy that FIF used as a unit can also be applied to a dimensionless number (which then is interpreted as a length in meter!!)