Result of a division
Posted: Thu May 20, 2004 6:15 am
Hi everybody,
In my transform, I try to divise 2 fields :
A Number 9
B Number 9
My targer is C Decimal 5 scale 2
When I check the result, I never have the number after the comma. It always truncate the value.
For exemple:
A = 27
B = 5
C= 5.00 but the right value is 5.40
How can I revolve that?
If you have the answer I will be very interesting.
Thank for your help
Pey
In my transform, I try to divise 2 fields :
A Number 9
B Number 9
My targer is C Decimal 5 scale 2
When I check the result, I never have the number after the comma. It always truncate the value.
For exemple:
A = 27
B = 5
C= 5.00 but the right value is 5.40
How can I revolve that?
If you have the answer I will be very interesting.
Thank for your help
Pey