cancel
Showing results for 
Search instead for 
Did you mean: 

Height in feet and inches

cothmer
Participant
0 Kudos

I have a string value for height in the database that I would like split out into feet and inches. For example the value right now is 66, 65, etc...

Accepted Solutions (1)

Accepted Solutions (1)

former_member203168
Active Participant
0 Kudos

Hi Curt,

If Unit of measure is CM then use below logic

(totext(({Database_cm}* 0.0328084),0)) & " Fts   "&Tonumber((Split(totext({Database_.cm}* 0.032808,5),".")[2])) *0.00012 & " Inches"

If Unit of measure is in Meters then You need to convert meters to CM by using below formula

{Meters_field}/100

--Praveen G

cothmer
Participant
0 Kudos

thanks for your responses, I got it to work.

Answers (1)

Answers (1)

abhilash_kumar
Active Contributor
0 Kudos

Hi Curt,

What is the Unit of Measure for this field in the database currently? What does 65 mean - cm, m?

-Abhilash