'less than or equal to' signs

  • Thread starter Thread starter Murt
  • Start date Start date
M

Murt

Hi,

when writing equations in vb .net,

how do you enter the signs "less than or equal to" etc.

thanks

Murt
 
Murt said:
Hi,

when writing equations in vb .net,

how do you enter the signs "less than or equal to" etc.

Probably the same as any dialect of BASIC: <= and >=
 
Less Than: <
Less Than or Equal To: <=
Greater Than: >
Greater Than or Equal To: >=
Equal To: =


So..

dim myInt1 as integer = 1
dim myInt2 as integer = 2

if myInt1 >= myInt2 then
msgbox "myInt1 is greater than or equal to myInt2"
else
msgbox "myInt1 is less than myInt2"
end if
 
Tom Leylan said:
And in addition to all those previous answers

http://www.google.com/search?q=less+than+or+equal+to

this will present you with 8 million + links on the subject in
general :-)
:-)

I'd guess the guy understood after the first person posted a reply
but I could be wrong.

When I replied I only had one reply downloaded. Apart from this, posting
links to the documentation often helps people to learn how to use it and
next time they can better deal with it (sometimes it's really hard to find
something).
 
Armin Zingler said:
When I replied I only had one reply downloaded. Apart from this, posting
links to the documentation often helps people to learn how to use it and
next time they can better deal with it (sometimes it's really hard to find
something).

Armin it wasn't directed towards you. I was just laughing because (counting
all that I can see so far there are 7 messages including the original
posting.) If you try google you will notice that the question has been
asked about frontpage, delphi, excel, X86 Asm, PHP, dreamweaver, clarion,
paradox and more... including .Net.

It just strikes me as something that is very easy to find if it couldn't
just be guessed :-) I would guess (but that is just me) that these are the
standard math symbols. Are they different in foreign countries?

Tom
 
Tom

If you want to know whether these are different in other
languages why not just look on Google rather than waste
everyone's time by posting to the MS newsgroup?

Chaz
 
If you want to know if Tom wants to know whether these are different in
other languages why not just mail him directly rather than waste everyone's
time by posting to the MS newsgroup?

Bob Lehmann
 
Bob
if you want to know why when I want to know why when Tom
wants to know whether these are different in other
languages he doesn't just email Armin directly I don't
just email Tom directly then its cause I guess I *do* like
wasting other peoples' time. So why didn't you just email
me that directly?


Chaz
 
thanks guys,

I agree it is to an extent common sense, but it is also difficult to
navigate the enormous amount of documentation available,
 
Murt said:
where do I find a guide to mathemathical functions and scientific
formulas in VB,

Have a look at the links I and others posted. Next to them, there will also
be the topics you are looking for. If you bought VB/VS.NET, your <F1> key
should also work. If you only use the SDK, also have a look at the links.
 
No. But it is wrong to question an answer and hide behind a false name.

Bob Lehmann (really)
 
Back
Top