View Single Post
Old 02-07-2004, 03:11 PM   #2 (permalink)
Silvy
paranoid
 
Silvy's Avatar
 
Location: The Netherlands
I'm no C - programmer but maybe the operands for the division need to be doubles for a result to return a double?

dValueResult = dValueWidth / dValueLength
(or perhaps only one of the two)
__________________
"Do not kill. Do not rape. Do not steal. These are principles which every man of every faith can embrace. "
- Murphy MacManus (Boondock Saints)
Silvy is offline  
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38