title: how to use tagDEC (DECIMAL type) in c++?
body: <p>I use an API that returns a windows DECIMAL type.</p>
  
  <p>I need to convert it, the information I need is:</p>
  
  <ul>
  <li>the number of decimal place</li>
  <li>the value itself</li>
  </ul>
  
  <p>For example, if my number is 1.234, I would like to get (3, 1234), for 10 (0,10) for 0.01 (2,1).
  How can I extract this information from the tagDec object ?</p>
  
  <p>Thanks</p>