Advanced-Division
Divide two numbers using recurring decimals
Use this code to include the library:
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/