Skip to Content

Height in feet and inches

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...

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Jul 18, 2014 at 02:49 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 18, 2014 at 01:54 PM

    Hi Curt,

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

    -Abhilash

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.