Skip to content

Commit 239eec1

Browse files
authored
Update README.md
1 parent 2562d84 commit 239eec1

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

README.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,20 @@
1+
![](https://raw.githubusercontent.com/ratajs/Advanced-Division/master/imgs/icon.svg)
2+
13
# Advanced-Division-dart
24
Divide two numbers using recurring decimals
35

6+
Import code:
7+
<code>
8+
import 'AdvDiv.dart';
9+
</code>
10+
11+
412
You can use the `advdiv` function with this syntax:
513

614
<code>
7-
advdiv(double n1, double, n2, int r, String rstr = "[", String rstr2 = "]")
15+
advdiv(double n1, double, n2, int r, String rstr = "[", String rstr2 = "]")
816
</code>
917

10-
This function relies on the `times10` function, which is eke in this file.
11-
1218
* n1 – first number
1319
* n2 – second number
1420
* r – recurring decimals of the first number (default 0)
@@ -26,4 +32,4 @@ You can also use it as a console application (download it from the “Releases
2632
<pre>$ ./advdiv 123.1 7.54 24
2733
16.[329475122578570854432923398440639819950164777750984647536371674302708785467406157061]</pre>
2834

29-
You can look at the [JavaScript](https://github.com/ratajs/Advanced-Division-js) and [Python](https://github.com/ratajs/Advanced-Division-py) versions as well.
35+
Learn more: <https://advdiv.ratajs.cz>

0 commit comments

Comments
 (0)