Changing number precision

Posted by Dave18 on Stack Overflow See other posts from Stack Overflow or by Dave18
Published on 2010-06-18T13:25:29Z Indexed on 2010/06/18 13:33 UTC
Read the original article Hit count: 166

Filed under:

How would you change the precision of a number for example: float n = 1.2345 and store it back to the variable 'n' with changing it to 1.23 ?

© Stack Overflow or respective owner

Related posts about c++