Skip to content

Commit

Permalink
Update README for the version 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ratajs committed Aug 28, 2023
1 parent ea0e3c7 commit 3480ba6
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@
# Advanced-Division
### Divide two numbers using recurring decimals

Include code:
Use this code to include the library:

<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>
<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>

Syntax:
<code>advdiv(n1, n2, r, rstr1, rstr2)</code>
* n1 – first number
* n2 – second number
* r – recurring decimals of the first number
<code>advdiv(n1, n2, minstr, decstr, rstr1, rstr2)</code>
* n1 – the first number as string
* n2 – the second number as string
* minstr – string representing the minus sign
* decstr – string separating the decimal digits
* rstr1 – string of the recursion beginning
* rstr2 – string of the recursion end

Expand Down

0 comments on commit 3480ba6

Please sign in to comment.