#P38. 练8.3 计算分数的浮点数值
练8.3 计算分数的浮点数值
Description
Given two integers and as the numerator and denominator, respectively, calculate the floating-point value of the fraction (as a double-precision floating-point number, rounded to 9 decimal places).
Input Format
Input consists of a single line with two integers and .
Output Format
Output a single line with the floating-point value of the fraction (as a double-precision floating-point number, rounded to 9 decimal places).
Sample
5 70.714285714
Related
In following homework: