Skip to content

Commit 34bf552

Browse files
committed
Update README for the next release
1 parent c47104e commit 34bf552

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,20 @@ Divide two numbers using recurring decimals
55

66
Import code:
77
<code>
8-
import 'AdvDiv.dart';
8+
import 'AdvDiv.dart';
99
</code>
1010

1111

1212
You can use the `advdiv` function with this syntax:
1313

1414
<code>
15-
advdiv(double n1, double n2, int r, String rstr = "[", String rstr2 = "]")
15+
advdiv(String n1, String n2, String minstr = "-", String decstr = ".", String rstr = "[", String rstr2 = "]")
1616
</code>
1717

1818
* n1 – first number
1919
* n2 – second number
20-
* r – recurring decimals of the first number (default 0)
20+
* minstr – string representing the minus sign (default "-")
21+
* decstr – string separating the decimal digits (default ".")
2122
* rstr1 – string to be inserted before recursive decimals (default "[")
2223
* rstr2 – string to be inserted after recursive decimals (default "]")
2324

@@ -29,7 +30,7 @@ You can also use it as a console application (download it from the “Releases
2930
<pre>$ ./advdiv 1 7
3031
0.[142857]</pre>
3132

32-
<pre>$ ./advdiv 123.1 7.54 24
33+
<pre>$ ./advdiv "123.1[24]" 7.54
3334
16.[329475122578570854432923398440639819950164777750984647536371674302708785467406157061]</pre>
3435

3536
Learn more: <https://advdiv.ratajs.cz>

0 commit comments

Comments
 (0)