visual basic

posted by .

Doing a units of measurement program don't know what the formula i need to use to convert the units? Also was wondering how do i get the answer to show at least 3 decimals places im getting to many numbers for my results? Should i declare them as a double or a long?
inch& = 0.0833
rod& = 16.5
yard& = 3
furlong& = 660
meter& = 3.2815
kilometer& = 3281.5
fathom& = 6
miles& = 5280

  • visual basic -

    Here's a site to convert just about anything. If it doesn't work, I have other sites:

    1. http://www.onlineconversion.com/

    Just in case:

    2. (metric): http://www.sciencemadesimple.com/conversions.html

    3. (weights & measurements): http://www.convert-me.com/en/

    Sra

  • visual basic -

    P.S. If there are too many decimals, could you convert the 3rd, depending upon the fourth (larger than .5)
    3547 (355)

    http://www.aaamath.com/dec.htm
    (see "rounding decimals")

    Sra

  • visual basic -

    It is not clear from your question what the "&" is supposed to represent and what units you are converting TO. However, the numbers provide a clue
    1 inch = 1/12 = 0.0833 feet
    (to three figures)
    1 rod = 16.5 feet
    1 yard = 3 feet
    1 furlong = 660 feet = 1/8 mile
    1 meter = 3.2815 feet (to five figures)
    1 kilometer = 3281.5 kilofeet
    (I've never heard of kilofeet being used)
    1 fathom = 6 feet
    1 miles = 5280 feet

Respond to this Question

First Name
School Subject
Your Answer

Similar Questions

  1. Math

    How do I convert these decimals? You need to give us some decimals to convert. When you do, show us what you think should be done to convert. You need to give us some decimals to convert. When you do, show us what you think should
  2. physics

    A 2000-kg car rounds a circular turn of a radius 20m. if the radius flat and the coefficient of friction between tires and road is .70, how fast can the car go without skidding?
  3. Visual Basic

    If you wanted your program to respond to an event every 5 seconds, you would use the ________control. timer having problems getting the name from my txtName box to show up on my lblmessage box. I am working on a simple program that …
  4. 8th grade Physics

    I don't quite get the formula "w=(fd)" i understand what to do once you get the data, but i can't seem to ever get the data from the six basic machines, and converting the measurement units. I really need help, please
  5. algebra

    the revenue from selling x units of a product is given by y=-0.0002x^2+60x. how many units must be sold in order to have the greatest revenue?
  6. chem

    What are the basic units-single atoms, molecules, or formula units-that compose each of the following substances?
  7. visual basic programming

    Write a Visual Basic program that will calculate the assessment marks of a student taking the Computer Programming subject in College. The program must be able to determine the total result and finally display the grade of that student. …
  8. Science

    Why do scientists use standard units of measurement?
  9. Math

    Convert this measurement to hundreth of a kilometre. 26 mi 385 yd. Could you please show formula on how you got this answer?
  10. chemistry

    How many formula units are in 1.31 mg of hydrogen peroxide (H2O2)?

More Similar Questions