1266: 【10】格式化分数▃格式化_深度理解round
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:27
Solved:22
Description
两个整数 a 和 b 分别作为分子和分母,即分数 a/b。求它的浮点数值。
Input
输入为两行,包括两个整数 a 和 b(1 ≤ a,b ≤ 1000)。
Output
输出仅一行,分数 a/b 的浮点数值。保留9位小数。
Sample Input Copy
480
659
Sample Output Copy
0.728376328
HINT
用%号保留小数点后9位,如果用round()不能通过。