Page 1 of 1

decimal15,8 * decimal20,4

Posted: Mon Oct 15, 2007 1:24 pm
by ds_is_fun
I have a biz rule where I multiply col1 of type dec15,8 with dec20,4 and my target type is dec20,4. To avoid any possible DS warnings do I implicitly convert anything?

Posted: Mon Oct 15, 2007 2:43 pm
by Ronetlds
Along with the mathematical type conversion functions, you may want to use the mathematical functions Floor, Ceil and Mod to get the level of precision you want by rounding or truncating.