Dear all,
I am using samevalue function provided with fpc (math unit).
I am using samevalue instead of = in order to avoid problems related to
precision.
If I compare two values:
a:= 5.1005;
b:= 5.1;
if I use = operator I get that the two numbers are different.
Using samevalue
On Wed, 30 Sep 2015 13:06:56 +0200, Andrea Mauri
wrote:
> Dear all,
>
> I am using samevalue function provided with fpc (math unit).
> I am using samevalue instead of = in order to avoid problems related to
> precision.
>
Why are you not using your own