Use this code to include the library:
<script src="https://cdn.jsdelivr.net/gh/ratajs/[email protected]/AdvDiv.min.js" type="text/javascript" integrity="sha384-V0RdxveNPPBfIo4374oMkSjSkDBFh29wOCfIATs+/0CetZk8Bsr9rVZYNF3hedi8" crossorigin="anonymous"></script>
Syntax:
advdiv(n1, n2, minstr, decstr, rstr1, rstr2)
- 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
Here is an online demo: https://advdiv.ratajs.cz/demo.html
Learn more: https://advdiv.ratajs.cz/