Hi ,
I am using BRGEW data type for a quantity field , which has length 13 of which 3 are decimal places.
(
for suppose if the value is 3.115 say I want to get 3 ( integer part ) into one variable of type i and remaining decimal 0.115 into another variable which is of type BRGEW.
I know we can pass that 3.115 into a char type variable and split into two variable of char type and than pass them back to required type variables .
I am looking for better way than this.
I already tried trunc and frac numerical operations but the problem is the frac operations makes the value to 0 if the value is 0.114 like that is any thing less than is 0.5 is considered as 0.
Please suggest.
Thanks,
RG