Skip to content

Commit a1b6766

Browse files
committed
Update README for the next version
1 parent 1fbb297 commit a1b6766

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,23 @@ If you have Python installed, you can test this from the command line, such as <
88
Import this library using <code>import AdvDiv</code>
99

1010
Syntax:
11-
<code>AdvDiv.div(n1, n2, r1, str1, rstr2)</code>
12-
* n1 – first number
13-
* n2 – second number
14-
* r – recurring decimals of the first number (default 0)
11+
<code>AdvDiv.div(n1, n2, minstr, decstr, str1, rstr2)</code>
12+
* n1 – the first number
13+
* n2 – the second number
14+
* minstr – string representing the minus sign (default "-")
15+
* decstr – string separating the decimal digits (default ".")
1516
* rstr1 – string of the recursion beginning (default "[")
1617
* rstr2 – string of the recursion end (default "]")
1718
## Examples:
18-
<code>print(AdvDiv.div(1, 6))</code>
19+
<code>print(AdvDiv.div("1", "6"))</code>
1920

2021
<pre>0.1[6]</pre>
2122

22-
<code>print(AdvDiv.div(1, 7))</code>
23+
<code>print(AdvDiv.div("1", "7"))</code>
2324

2425
<pre>0.[142857]</pre>
2526

26-
<code>print(AdvDiv.div(123.1, 7.54, 24))</code>
27+
<code>print(AdvDiv.div("123.1[24]", "7.54"))</code>
2728

2829
<pre>16.[329475122578570854432923398440639819950164777750984647536371674302708785467406157061]</pre>
2930

0 commit comments

Comments
 (0)