Have a VB6 program that sums the values
in the columns of an Access table. The
values are double fixed numbers, the final
sum needs to be converted to a string, ignoring
the decimal point, so 37.95 becomes 3795
and 14.00 becomes 1400.
Table contains:
Week# Mon Tue Wed Thu Fri
1 3.00 5.70 0.00 0.00 0.00
code is:
dblSum = Mon.value + Tue.value + Wed.value +Thu.value + Fri.value
dblSum = dblSum * 100
strSum = cstr(Int(dblSum)) **
** after this step, dblSum = 870 amd strSum = 869
CAN ANYONE SHED SOME LIGHT ON THIS???
in the columns of an Access table. The
values are double fixed numbers, the final
sum needs to be converted to a string, ignoring
the decimal point, so 37.95 becomes 3795
and 14.00 becomes 1400.
Table contains:
Week# Mon Tue Wed Thu Fri
1 3.00 5.70 0.00 0.00 0.00
code is:
dblSum = Mon.value + Tue.value + Wed.value +Thu.value + Fri.value
dblSum = dblSum * 100
strSum = cstr(Int(dblSum)) **
** after this step, dblSum = 870 amd strSum = 869
CAN ANYONE SHED SOME LIGHT ON THIS???