platform: CR8.5, VB6
fellow experts,
I am using vb to pass 2 parameters into crystal and then i sum the both values by using:
val({Total1}) + val({Total2})
lets just assume Total1 = 1.99, Total2 = 2.98
and the answer is 4.97, yes it gives me a precise answer.
But when i change my regional language in my control panel into EU. The value become
{Total1} = 1,99 and {Total2} = 2,98 .... when i put val({Total1}) it becomes 1.00 ... so in this case when i sum together it becomes 1.00 + 2.00 = 3 (which is incorrect).
I've tried several conversions to apply into this matter like ccur(), cdbl but the crystal report just wouldn't accept it.. any solutions out there i would like to know ... many thanks in advance.
sn00p,
fellow experts,
I am using vb to pass 2 parameters into crystal and then i sum the both values by using:
val({Total1}) + val({Total2})
lets just assume Total1 = 1.99, Total2 = 2.98
and the answer is 4.97, yes it gives me a precise answer.
But when i change my regional language in my control panel into EU. The value become
{Total1} = 1,99 and {Total2} = 2,98 .... when i put val({Total1}) it becomes 1.00 ... so in this case when i sum together it becomes 1.00 + 2.00 = 3 (which is incorrect).
I've tried several conversions to apply into this matter like ccur(), cdbl but the crystal report just wouldn't accept it.. any solutions out there i would like to know ... many thanks in advance.
sn00p,