把小数、分数、整数化成百分数.

问题描述:

把小数、分数、整数化成百分数.
10= 2= 50= 0.98= 0.081= 0.0025= 2/5= 3/4= 7/8=
1/10= 3/20= 7/40= 2/9= 5/12= 4/19=

10=1000%
2=200%
50=5000%
0.98=98%
0.081=8.1%
0.0025=0.25%
2/5=0.4=40%
3/4=0.75=75%
7/8=0.875=87.5%
1/10=0.1=10%
3/20=0.15=15%
7/40=0.175=17.5%
2/9≈0.222=22.2%
5/12≈0.417=41.7%
4/19≈0.211=21.1%