All,

I think I may have come across a bug, that or my coding is seriously suspect! I am 
trying to evaluate two float variables in an IF statement.  If the two values are the 
same then I want to perform some operations.  The code is:

If (fDistCheck = fDistLink) Then
        '* Perform some stuff here
End If

This statement is working for all values when it is run, the purpose is to find a link 
distance that is equalt to the checking value.  Printing out the values shows me that 
when the two are the same the operations inside the if statement occur - except when 
both values are equal to 13.1! When the two values equal 13.1 the IF statement does 
not evaluate to true and my app goes into an eternal loop.

What is going on? Has anyone come across this situation before?

Thanks for any assistance offered,
Colin Henderson


This email is only intended for the person to whom it is addressed and may contain 
confidential information. If you have received this email in error, please notify the 
sender and delete this email which must not be copied, distributed or disclosed to any 
other person.
Unless stated otherwise, the contents of this email are personal to the writer and do 
not represent the official view of Ordnance Survey. Nor can any contract be formed on 
Ordnance Survey's behalf via email. We reserve the right to monitor emails and 
attachments without prior notice.

Thank you for your cooperation.

Ordnance Survey
Romsey Road
Southampton SO16 4GU
Tel: 023 8079 2000
http://www.ordnancesurvey.co.uk


---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 13736

Reply via email to