why cannot / decimal point?

To add comments, please log in or register
Eng Keat Ang
1994
Eng Keat Ang  
lot size = 0.8 / 2; //success become 0.4

lot size = 0.6 / 1.5; //fail to become 0.4 WHY?
Yip Sin Hang
3081
Yip Sin Hang  
Eng Keat Ang

Please check what type is your variable . must be double lot_size . 

Yip Sin Hang
3081
Yip Sin Hang  
Eng Keat Ang:

Could you please sending all the codes here ?  I just tried , it works . 

To add comments, please log in or register