# 百分比

#### 计算一个数的百分比

```
10% of 200 | 20
25% × 200  | 50
```

#### 给一个数增加或减少百分比

```
200 + 10%   | 220
10% on 200  | 220

200 - 10%   | 180
10% off 200 | 180
```

#### 一个数相对于/增加/减少另一个数所占的百分比

```
20 is 10% of what   | 200
180 is 10% off what | 200
220 is 10% on what  | 200
```

#### 计算一个数到另一个数的百分比变化

```
50 to 75 is what %    | 50%
40 to 90 as %         | 125%

180 is what % off 200 | 10%
180 is what % on 150  | 20%

20 is what % of 200   | 10%
20 as a % of 200      | 10%

20/200 as %           | 10%
20/200 %              | 10%
```

#### 将数字和分数转换为百分比

请注意，0.5 是 50%，2 是 200%。

```
0.35 as %      | 35%
2/5 as percent | 40%
```

### 混合百分比和小数的计算

您可以对纯百分比进行计算：

```
10% + 20% | 30%
90% − 40% | 50%
```

您还可以对百分比进行小数和分数的加减运算。1.0 等于 100%。

```
30% + 0.4      | 70%
100% - 1/2     | 50%
100% + 2 + 30% | 330%
```

请注意，当将百分比乘以一个数字时，无论顺序如何，答案始终是一个数字（而不是百分比）：

```
50% × 30 | 15
30 × 50% | 15
```

## **分数**

您可以将小数或百分比转换为分数：

```
2/10 as fraction | 1/5
50% as fraction  | 1/2
```

在任何 [percentage](/zh/yu-fa-can-kao/percentages.md) 函数中，百分比也可以用分数替换：

```
2/3 of 600        | 400
50 is 1/5 of what | 250
```

## 乘数

将百分比（或分数）格式化为乘数：

```
20/5 as multiplier | 4x
```

在任何 [percentage](/zh/yu-fa-can-kao/percentages.md) 函数中，百分比也可以用乘数替换。

使用 "x"、"multiple" 或 "multiplier"：

```
50 as x of 5         | 10x
2 as multiplier of 1 | 2x
2 as multiplier on 1 | 1x
1 as x off 2         | 0.5x
```

计算一个数到另一个数的乘数变化

```
50 to 75 is what x | 1.5x
20 to 40 as x      | 2x
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.soulver.app/zh/yu-fa-can-kao/percentages.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
