LessThen()

Namespace ›› System ›› MfInt64 ›› Methods ››
Parent Previous Next

LessThen()

OutputVar := instance.LessThen(value)

LessThen(value)

Compares the current MfInt64 object to a specified MfInt64 object and returns an indication of their relative values.

Parameters

value

The Object or var containing, integer to compare to current instance.
Can be any type that matches IsNumber.

Returns

Returns true if the current instance has less value then the value instance; otherwise false.

Throws

Throws MfNullReferenceException if called as a static method
Throws MfArgumentException if value is not an instance of MfInt64 and can not be converted into integer value.

Remarks

If value is a float or MfFloat instance then method will alway round down for positive number and round up for negative numbers. For instance 2.8 is converted to 2 and -2.8 is converted to -2.