Forum Home
Press F1
 
Thread ID: 82285 2007-08-22 02:13:00 Metric and Imperial height weight drop down list boxes Morgenmuffel (187) Press F1
Post ID Timestamp Content User
583641 2007-08-22 02:13:00 Basicall y I need a select your height and a select your weight list box, however they need to display the height in metric and imperial and the weight the same way,

eg (note I don't know the correct conversions this is just an example, so don't be pedantic)

Select your height
|175cm (5'9") <-- how do you write imperial measures
|178cm (5'10)
|180cm (5'11)
|183cm (6ft)

Now If anyone knows a site where I can swipe this code from, let me know please as i am really not Au-fait with ye olde imperial measurements that are only used by the more backwards countries

Yes i know i can write it myself, but it will take a hellish amount of time to do conversions for the height and weights I need to cover

Cheers
Morgenmuffel (187)
583642 2007-08-22 02:53:00 Ok no worries I have found a solution, a chart that shows the equivelent metric and imperial height/weights so i can knock out A dropdown easily now Morgenmuffel (187)
583643 2007-08-22 06:48:00 Glad you're sorted, Nigel.

But curious about how your chart does display the imperial measures?
That's because there were 2 different ways when I was a kid.

(1) Single & double symbols ... e.g. 5'9"
(2) Alphabet abbreviations ... e.g. 5ft 9in

I found the 2nd choice easier to read.


Edit: Forgot you also mentioned weight...
That's another story.
How does your chart set that out?
Laura (43)
583644 2007-08-22 07:32:00 Basically height is done like so, Although I now realise I have to add the metric identifier (cm) in to my drop down
182 (5' 11½")

and weight is done in lbs

77kg (169lbs)

like so

I went looking for a BMI website as i thought that would have both measures, about the 30th one I got to did

--------------------
Thats odd the editor page isn't wrapping
Morgenmuffel (187)
583645 2007-08-22 10:26:00 That looks nice & clear.

Funny thing about weight, though.
Those of us brought up the old way still judge our own by stones and pounds - and most bathroom scales show those as well as kilos.

So I'd be immediately dividing your lbs by 14 to get what's most relevant to me.
Maybe it's just a female thing....
Laura (43)
583646 2007-08-22 10:38:00 Ahem, - a cm is a dressmaker's unit of measurement, but if you are numerically challenged enough to need metrics, maybe it is OK. ;)
Engineering units of length are the mm until we change to metres at 20m.
cm should be catalogued with Leagues, links and perches. Novelty items.
For personal height the critical point is that the feet should reach the ground exactly; any compromises here will lead to difficulties later.
R2x1 (4628)
583647 2007-08-22 11:02:00 But surely it is the dressmaker's measure which is affected by the reading on the bathroom scales?

(Hmmm...So that's why this seam needs letting out...)

20m is OK for steel beams, but people in mm makes my sums harder.
Laura (43)
583648 2007-08-22 11:17:00 But surely it is the dressmaker's measure which is affected by the reading on the bathroom scales?

(Hmmm...So that's why this seam needs letting out...)

20m is OK for steel beams, but people in mm makes my sums harder.
Feet and inches are so much easier.
And check any supermarket, chooks are still laying in dozens. They weren't conned into daylight saving either.
R2x1 (4628)
1