README ¶ 166. Fraction to Recurring Decimal 题目 Given two integers representing the numerator and denominator of a fraction, return the fraction in string format. If the fractional part is repeating, enclose the repeating part in parentheses. For example, Given numerator = 1, denominator = 2, return "0.5". Given numerator = 2, denominator = 1, return "2". Given numerator = 2, denominator = 3, return "0.(6)". Credits:Special thanks to @Shangrila for adding this problem and creating all test cases. 解题思路 见程序注释 Expand ▾ Collapse ▴ Documentation ¶ There is no documentation for this package. Source Files ¶ View all Source files fraction-to-recurring-decimal.go Click to show internal directories. Click to hide internal directories.