Equals()

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

Equals()

Overrides MfObject.Equals()

OutputVar := instance.Equals(value)

Equals(value)

Gets if this instance Value is the same as the obj instance.Value

Parameters

value

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

Returns

Returns Boolean value of true if this Value and value are equal; Otherwise false.

Throws

Throws MfNullReferenceException if called as a static method

Remarks

If value is unable to be converted to a integer then false will be returned.
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.