cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Convert feet to feet and inches

SFares
13-Aquamarine

Convert feet to feet and inches

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

ACCEPTED SOLUTION

Accepted Solutions
Werner_E
25-Diamond I
(To:SFares)

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

Werner_E_1-1706379619285.png

 

For a different and more comprehensive approach on this you may have a look at the work of Fred Lusk 

Lusk_Feet Inches & Fractions Calculations

View solution in original post

5 REPLIES 5
Werner_E
25-Diamond I
(To:SFares)

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

Werner_E_1-1706379619285.png

 

For a different and more comprehensive approach on this you may have a look at the work of Fred Lusk 

Lusk_Feet Inches & Fractions Calculations

SFares
13-Aquamarine
(To:Werner_E)

Thank you, Werner!

Werner_E
25-Diamond I
(To:SFares)

Forgot to mention that Prime offers a unit (!!?) FIF

Werner_E_0-1706473964069.png

 

ft-in-men.png

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!!)

Werner_E_0-1706532683918.png

 

Announcements

Top Tags