Hi KVB,
the first dvision is also rounded: SEL (100.00/210.00) = 0.476190476190476
When you add/substract/divide two decimals the resulting precision is the higher of the two operands, e.g.
dec(a,b) + dec(x,y) -> fractional digits = max(b,y)
Multiplying results in adding the fractional digits:
dec(a,b) * dec(x,y) -> fractional digits = b+y
Dieter
Hi KVB,
the first dvision is also rounded: SEL (100.00/210.00) = 0.476190476190476
When you add/substract/divide two decimals the resulting precision is the higher of the two operands, e.g.
dec(a,b) + dec(x,y) -> fractional digits = max(b,y)
Multiplying results in adding the fractional digits:
dec(a,b) * dec(x,y) -> fractional digits = b+y
Dieter