Method Get():minus() Foundation

Tests whether a negative numeric value was entered.

Syntax
:minus() --> lNegativeValue
Return

When a Get object has input focus and is associated with a numeric value, the method :minus() returns .T. (true) when a negative number has been entered into the edit buffer. In all other cases :minus() returns .F. (false).

Description

When entering numbers, the method :minus() tests whether a minus sign was entered as the first character, thereby indicating a negative value.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.