Anonymous
Anonymous asked in Science & MathematicsMathematics · 1 decade ago

Back end rounding?

How to back end rounding using

hundreds.

1 Answer

Relevance
  • Anonymous
    1 decade ago
    Favorite Answer

    not sure what you mean here with 'back end rounding' ..

    but if you mean rounding something like 35.66778

    into 2 decimals only..

    say your number is x

    just take 100*x , round/int/ and divide by 100

    int, just chopping decimals...

    f(x) = int(x*100)/100

    x= 35.66778

    f(x) = int(3566.778)/100 = 3566/100= 35.66

    or 'round' , rnd, what ever, properly rounding:

    f(x) =round(x*100)/100 = 3567/100=35.67

Still have questions? Get your answers by asking now.