Ray Decker

Ray Decker

  • NA
  • 7
  • 5.2k

Math vb.net

Jan 30 2011 11:23 AM

Just noticed something wierd in vb.net
statement like
pc = 25, Pr = 1
PC = test * Pr / 100.0
returns .24
however 25*1/100 returns .25
How do you prevent this and what causes it  !!!!!
 

Answers (4)