GREATER_THAN function

GREATER_THAN function

Function Name Description Usage Input parameter Return value
GREATER_THAN Checks if an existing number is greater than the specified number. GREATER_THAN(value) Number to check. A boolean. Returns TRUE if the existing number is greater than the specified value, and FALSE otherwise.

Supported data type

The GREATER_THAN function supports the following data types:

  • Double
  • Integer

Example: Check if an integer is greater than the specified value

Sample data: $var1$ = 25

Usage: $var1$.GREATER_THAN(27)

Check if var1 is greater than 27.

Output: FALSE

Recommendation

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年12月09日 UTC.