Page 1 of 1

Division

Posted: Wed May 07, 2008 4:58 pm
by dstest
Hi,

I want to divide 364/30 and i am expecting valu 12.13,But when i did in a transformer by putting data type as decimal i am getting 12.00.What i need to do to get the exact value instead of zeros.

Thanks

Posted: Wed May 07, 2008 5:04 pm
by narasimha
For starters - check your Precision and Scale values.

Posted: Mon May 19, 2008 9:28 am
by Krazykoolrohit
Can anyone please explain why is this needed?

I got the same issue and this post helped me but i am still wondering why i had to convert it to float.