how to make the numbers to 2 significant number

I made a proram that can calculate an individuals IBW, TER, PA, and other nutritional calculation thingy's. Now my problem is that the numbers that appear looks like this "23.65785343235678". I want to make it into 2 significant numbers only or to make it look like "23.65" instead....
need help please.... ehehe... thanks..! (o_O)

Comments

  • : I made a proram that can calculate an individuals IBW, TER, PA, and
    : other nutritional calculation thingy's. Now my problem is that the
    : numbers that appear looks like this "23.65785343235678". I want to
    : make it into 2 significant numbers only or to make it look like
    : "23.65" instead....
    : need help please.... ehehe... thanks..! (o_O)
    :

    Use the Format function. It allows you to format strings from multiple sources, including rounding floating point numbers.

    Best Regards,
    Richard

    The way I see it... Well, it's all pretty blurry
  • : : I made a proram that can calculate an individuals IBW, TER, PA, and
    : : other nutritional calculation thingy's. Now my problem is that the
    : : numbers that appear looks like this "23.65785343235678". I want to
    : : make it into 2 significant numbers only or to make it look like
    : : "23.65" instead....
    : : need help please.... ehehe... thanks..! (o_O)
    : :
    :
    : Use the Format function. It allows you to format strings from
    : multiple sources, including rounding floating point numbers.
    :
    : Best Regards,
    : Richard
    :
    : The way I see it... Well, it's all pretty blurry

    thank you so much! i'll try it out, (^_^)



Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories