The ncompareLE is a fast comparison function that assume that its operands are Number values. The resulting value is a Boolean value of true or false. The operands are not checked and are not coerced.


Use the ncompareLE function when you wish to compare two Numbers and determine if {num1} lesser than or equal to {num2} and you wish the result to be expressed as a Boolean value (true or false). These functions only operate on Number operands. For a more general, but slower, comparison, use the compareEQ, compareNE, compareGT, compareGE, compareLT, and compareLE which performs type checking and type conversions.



Expression: (ncompareLE num1 num2 )

Arguments Name Type Description
Argument:num1Number The first Number to be compared
Argument:num2Number The second Number to be compared


Returns true if the first Number is lesser than or equal to the second Number and false if the first Number is greater in value than the second Number.



Here are a number of links to Lambda coding examples which contain this instruction in various use cases.


Argument Types

Here are the links to the data types of the function arguments.

Number Boolean

Here are also a number of links to functions having arguments with any of these data types.

++ += + /=
/ * -- -=
- abortTransaction abs acos
add1 addMethod addi argument
arithmetic asin atan avg
badd bcompareEQ bcompareGE bcompareGT
bcompareLE bcompareLT bcompareNE bdiv
beginTransaction binaryInsert binaryNand binaryNor
binaryNot binaryNxor binarySearch bitwiseAnd
bitwiseNand bitwiseNor bitwiseNot bitwiseNxor
bitwiseOr bitwiseShiftLeft bitwiseShiftRight bitwiseXor
bmod bmul boolean ccompareEQ
ccompareGE ccompareGT ccompareLE ccompareLT
ccompareNE character checkPointTransaction clear
commitTransaction compareEQ compareGE compareGT
compareLE compareLT compareNE compare
comparison compile cons cos
cosh count date day
days360 debug decode deg
disassemble display divi exp
exportCsv exportSbf exportTab expt
fact fdisplay fileClose fileCopy
fileDir fileDisplay fileErase fileOpen
fileRead fileWrite filewriteln findBlock
floor fraction gc getTickCount
hour iadd icompareEQ icompareGE
icompareGT icompareLE icompareLT icompareNE
idiv imod importCsv importSbf
importTab imul inside inspect
integer isAtom isBitVector isBoolean
isBound isByteVector isCharAlphabetic isCharAlphanumeric
isCharLowercase isCharName isCharNumeric isCharUppercase
isCharWhitespace isChar isCharacter isComplex
isDate isDictionary isDirectory isEqual
isError isEven isExact isFloatVector
isIdentical isImmediate isInexact isInside
isIntegerVector isInteger isLambda isMatrix
isMember isMoney isNegative isNull
isNumberMatrix isNumberVector isNumber isObjectVector
isObject isOdd isPair isPcodeVector
isPositive isString isStructure isSymbol
isText isTransaction isType isVector
isZero isub julian kurtosis
length lisp list loadModule
loadWorkspace log10 log2 logConsole
log logbase macroReplace makeQuotedList
max median member min
minute mod modi money
month morph muli nadd
ncompareEQ ncompareGE ncompareGT ncompareLE
ncompareLT ncompareNE ndiv new
nmod nmul now nsub
number objectToMatrix objectToNumMatrix objectToNumVector
onError pair parent parse
pi product quit rad
random randomize range ref
remove rename reset round
saveModule saveObject saveRepository saveWorkspace
second setBlock setCar setCdr
setLastCdr set setf setq
sigmoid sign sin sinh
sizeof skew sleep sort
sqrt srandom stdev stdevp
stringCiEQ stringCiGE stringCiGT stringCiLE
stringCiLT stringCiNE string sub1
subi submit substringCiEQ substringCiGE
substringCiGT substringCiLE substringCiLT substringCiNE
substringEQ substringGE substringGT substringLE
substringLT substringNE sum sumsqr
systemCheck tan tanh time
type uniqueInsert var varp
vectorBinaryInnerProduct vectorBipolarInnerProduct vectorCosineInnerProduct vectorCubeInnerProduct
vectorExpInnerProduct vectorFill vectorInnerProduct vectorLogInnerProduct
vectorQuartInnerProduct vectorQuintInnerProduct vectorSigmoidInnerProduct vectorSineInnerProduct
vectorSquareInnerProduct vectorTanInnerProduct vectorTanhInnerProduct version
writelg writeln year

Analytic Information Server (AIS)

AIS Component Systems

  • Smartbase Engine
  • QT C++ Libraries
  • MySQL Relational Database
  • AIS Lisp Libraries
  • Rapid Analytic Demo IDE