title: Float to big decimal
body: <p>I have to write a program with the following requirements:</p>
  
  <ol>
  <li><p>I have a variable of type float, say float a = 3333.333f;</p></li>
  <li><p>I have a variable of type int, say int b = 9999;</p></li>
  </ol>
  
  <p>When I perform a*b in calculator, the result will be 33329996.667</p>
  
  <p>After rounding up the decimals to 2 places, I want to print the value as 33329996.67 in java. I tried with long, double, float, big decimal, But couldnt succeed.</p>
  
  <p>Can anyone please help me solving this?</p>