Skip to content

Commit 3480ba6

Browse files
committed
Update README for the version 2.0
1 parent ea0e3c7 commit 3480ba6

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,16 @@
33
# Advanced-Division
44
### Divide two numbers using recurring decimals
55

6-
Include code:
6+
Use this code to include the library:
77

8-
<code><script src="https://cdn.jsdelivr.net/gh/ratajs/Advanced-Division-js@1.1/AdvDiv.min.js" type="text/javascript" integrity="sha384-F92uLNwg7qk0tLL5q0cIZ6SCkXVQUVfcdEeTaWB8KM21oqoz4ncJVAhgoZBx+UCo" crossorigin="anonymous"></script> </code>
8+
<code><script src="https://cdn.jsdelivr.net/gh/ratajs/Advanced-Division-js@2.0/AdvDiv.min.js" type="text/javascript" integrity="sha384-V0RdxveNPPBfIo4374oMkSjSkDBFh29wOCfIATs+/0CetZk8Bsr9rVZYNF3hedi8" crossorigin="anonymous"></script> </code>
99

1010
Syntax:
11-
<code>advdiv(n1, n2, r, rstr1, rstr2)</code>
12-
* n1 – first number
13-
* n2 – second number
14-
* r – recurring decimals of the first number
11+
<code>advdiv(n1, n2, minstr, decstr, rstr1, rstr2)</code>
12+
* n1 – the first number as string
13+
* n2 – the second number as string
14+
* minstr – string representing the minus sign
15+
* decstr – string separating the decimal digits
1516
* rstr1 – string of the recursion beginning
1617
* rstr2 – string of the recursion end
1718

0 commit comments

Comments
 (0)