Basic - Less than or equal to: <=

Less than or equal to operator is a logical operator that is used to compare two numbers.

<=

Description

par1 <= par2
Used keywords: <=

Input


Output

  • Result - Logical value Returns a true, if the first number is less than or equal to the second, otherwise false.
Note: It works over all types of numbers.
Compatible programing languages:
Visual Basic .NET | FreeBASIC

Examples

Basic

Less than or equal to the possible of use:
a = 2 <= funkc(0) 
b = x <= 12 
do while y <= 32   
   y=y+1
loop

Basic

Even one example in what situations we can use the operation less than or equal to:
x <= y * 5
2 <= f(1.9)
(j + 10) <= 128 

Basic

Other pieces of example codes:
y <= x

You can find it in the following collections: relational operators
Languages: en hu cz sk