> ## Documentation Index
> Fetch the complete documentation index at: https://rpa.bazhuayu.com/helpcenter/llms.txt
> Use this file to discover all available pages before exploring further.

# 公约数

# 描述

返回x和y的最大公约数。

<img src="https://mintcdn.com/bazhuayu-rpa-docs/jgqaQu-4rHRwwb68/helpcenter/commands/custom-commands/uos2FTti/images/XAeGcREa-01.png?fit=max&auto=format&n=jgqaQu-4rHRwwb68&q=85&s=25b26bf860cb330ab641ca6882f42839" alt="image" width="550" height="333" data-path="helpcenter/commands/custom-commands/uos2FTti/images/XAeGcREa-01.png" />

<img src="https://mintcdn.com/bazhuayu-rpa-docs/jgqaQu-4rHRwwb68/helpcenter/commands/custom-commands/uos2FTti/images/XAeGcREa-02.png?fit=max&auto=format&n=jgqaQu-4rHRwwb68&q=85&s=beef9a097f4df2c44594234c5bd03c7d" alt="image" width="655" height="429" data-path="helpcenter/commands/custom-commands/uos2FTti/images/XAeGcREa-02.png" />

# 配置说明

### 输入

<strong>x：</strong>必需，数字。

<strong>y：</strong>必需，数字。

### 输出

<strong>x与y最大公约数：</strong>

返回x和y的最大公约数。

<Info>
  使用指令过程中遇到问题？前往 [八爪鱼RPA 开发者社区问答板块](https://rpa.bazhuayu.com/community/questions) 提问，获取官方与社区帮助。
</Info>
