title: Best way to store currency values in C++
body: <p>I know that a float isn't appropriate to store currency values because of rounding errors. Is there a standard way to represent money in C++? </p>
  
  <p>I've looked in the boost library and found nothing about it. In java, it seems that BigInteger is the way but I couldn't find an equivalent in C++. I could write my own money class, but prefer not to do so if there is something tested.</p>