Vanguard Software
Forecasting & Planning Solutions

contents.gifindex.gifprev1.gifnext1.gif

Equal

Format: x == y

Arguments: [any] x, y Values to compare

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

Note: True is equal to all non-zero numbers. Text strings must match exactly, including case, to be equal. Lists and matrices are compared element-by-element.

Examples: 3==3 = true

3==4 = false

(3+I)==(3+I) = true

"word"=="word" = true

"WORD"=="word" = false

0.1==true = true

0==true = false

IF(x==3,y,z) = y if x is 3, otherwise z

upper(x)==upper(y) = compares text strings x and y without regard for case

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

  Forecasting Software  |  Strategic Planning Software  |  Decision Support Software
Decision Tree Software  |  Monte Carlo Simulation Software  |  Risk Analysis Software
Portfolio Analysis  |  Expert System Software  |  Market Research Surveys

Contact Us  |  Terms of Use  |  Privacy Policy  |  Site Map
Vanguard Software
© 2009 Vanguard Software Corporation
Home Products Solutions Services Customers Partners Company
Vanguard
Applying science to business management
Vanguard
Print this page   Email this page to a friend