Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Reduction of decimals when multiplying with a number with 15 decimals

  1. Feb 27, 2014 #1
    Hello,

    Does anyone know a method to reduce the number of decimals in the answer when multypling with a number with 15 decimals? What I want to achieve an answer with 4 decimals or less.

    x * 86,4716007952918 = y,yyyy

    X can be any number.

    Best regards,

    Nicolai
     
    Last edited: Feb 27, 2014
  2. jcsd
  3. Feb 27, 2014 #2

    mfb

    User Avatar
    2015 Award

    Staff: Mentor

    Just round the result to the number of digits you want?
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted
Similar Discussions: Reduction of decimals when multiplying with a number with 15 decimals
  1. Decimal Expansion (Replies: 2)

Loading...