Vanguard Software
Forecasting & Planning Solutions
Home Products Solutions Services Customers Partners Company
 
Applying science to business management

contents.gifindex.gifprev1.gifnext1.gif

Less Than or Equal

Format: x <= y

Arguments: [any] x, y Values to compare

Returns: (bool) True if x is less than or equal to y, false otherwise

Note: When comparing text strings, the string that is last in an alphabetic sort is the greatest. Lists and matrices are compared element-by-element. The argument that contains the greater element in the location where the first difference is found is the greater argument. When making comparisons between data types, e.g., comparing a string to a number, the following hierarchy is used: null < false = zero < true = all non-zero numbers < all strings < all lists and objects < all function pointers.

Examples: 3<=3 = true

3<=4 = true

"apple"<="orange" = true

false<=true = true

See Also: compare, true, false, Equal, Not Equal, Greater Than, Greater Than or Equal, Less Than

  Demand Planning  |  Financial Forecasting
Forecasting Software  |  Strategic Planning Software  |  Decision Tree Software
Decision Support Software  |  Expert System Software  |  Online Surveys

Contact Us  |  Terms of Use  |  Privacy Policy  |  Site Map
Vanguard Software
© 2011 Vanguard Software Corporation
Print this page   Email this page to a friend