[Info-vax] VMS Software Q1 '23 Update

Arne Vajhøj arne at vajhoej.dk
Fri Jan 27 19:34:10 EST 2023


On 1/27/2023 1:42 PM, Single Stage to Orbit wrote:
> On Thu, 2023-01-26 at 13:38 -0500, Arne Vajhøj wrote:
>>> Or use rounding: IF Math.Round(x,2) = Math.Round(x,2) THEN ..
>>
>> VB.NET?
>>
>> IF Math.Round(x,2) = Math.Round(y,2) THEN
>>
>> and:
>>
>> IF Math.Abs(x - y) < 0.01 THEN
>>
>> are not fully equivalent.
> 
> Of course they aren't. But it is good enough for our purposes.

I am not saying that one is better than the other
just that for some cases the test results will be
different.

Arne




More information about the Info-vax mailing list