freeCodeCamp/guide/chinese/mathematics/convert-decimals-to-fractions/index.md

27 lines
618 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

---
title: Convert Decimals to Fractions
localeTitle: 将小数转换为分数
---
## 将小数转换为分数
1. 将十进制数写为十进制数/ 1
2. 对于小数点后的每个否将分子和分母乘以10。
3. 简化分数直到它变得不可简化。
## 例子
### 例1
将0.25转换为分数。
0.25 / 1 - > 25/100 - > 5/20 - > 1/4
最终答案是1/4这是十进制的分数表示没有0.25
### 例如2
将0.2转换为分数。
0.2 / 1 ---> x100 = 20/100 = 2/10。
![例子](http://m.mathblaster.com/Mathblaster/CoolMath/Article-Images/decimals-to-fractions-&-fractions-to-decimals.jpg)