DIVIDE function

DIVIDE function

Function Name Description Usage Input parameter Return value
DIVIDE Divides an existing number by the specified number. DIVIDE(value) Divide by number (divisor). Quotient of the division operation.

Supported data type

The DIVIDE function supports the following data types:

  • Double
  • Integer

Example: Divide an integer by another integer

Sample data: $var1$ = 16

Usage: $var1$.DIVIDE(3)

Divide var1 by 3.

Output: 5

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.