Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Metric Conversion Tool
Message
From
06/12/2002 20:02:38
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
06/12/2002 11:23:19
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00730352
Message ID:
00730549
Views:
20
>My client wants me to place a metric conversion tool in the application we're developing. Seems to me that this would be out there already. If anyone knows where I can get one I'd appreciate it.
>
>Larry Morelli

I know about nothing - at least, the download section doesn't list relevant entries if I search for "metric" or for "conversion". However, it should be relatively easy to place a few TextBoxes on your form, and do the calculations.

BTW, 1 inch is exactly 2.54 cm. You can base your calculations on that.

The easiest way to convert is to select one "from" and one "to" unit, for instance, depending on the user's selection, from feet to mm. (1 ft. = 12 x 2.54 cm.; 1 mm. = 1/10 cm.). Selections for both units could be in ComboBoxes.

Another option is to have several textboxes, at least for the outdated units, so that the user can specify, for instance, 3'5", and convert it to cm.

HTH, Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform