Hi,
i am facing problem to perform a double data type division
here is the sample code:
Var DoubleX, doulbleY, doubleAns: double;
begin
DoubleX:= 100.123;
DoubleY:= 125.896;
DoubleAns:=(DoubleX-DoubleY)/doubleX;
end;
(I used div operator instead of / i am getting error (Operator not applicable to this operand type) and
" / " operator is working fine only if the data type is of single).
The datatype in this are of fixed, since i need to use the Doubleans for plotting in Tchart which will only take Double datatype yvalues.
is there any approach to perform this easily?
regards,
sekar.