Menu

Tree [b65cc8] master /
 History

HTTPS access


File Date Author Commit
 AdvDiv.js 2021-02-01 Simon Ratay / Šimon Rataj Simon Ratay / Šimon Rataj [c5e9e6] Update AdvDiv.js
 AdvDiv.min.js 2021-02-01 Simon Ratay / Šimon Rataj Simon Ratay / Šimon Rataj [243807] Update AdvDiv.min.js
 LICENSE 2020-06-30 Simon Ratay / Šimon Rataj Simon Ratay / Šimon Rataj [0894f6] Create LICENSE
 README.md 2021-09-03 Simon Ratay / Šimon Rataj Simon Ratay / Šimon Rataj [b65cc8] Update README.md
 _config.yml 2019-12-17 Simon Ratay / Šimon Rataj Simon Ratay / Šimon Rataj [4e6a2e] Set theme jekyll-theme-hacker
 demo.html 2021-08-29 Simon Ratay / Šimon Rataj Simon Ratay / Šimon Rataj [ae1818] More keyboard triggers
 icon.svg 2021-06-27 Simon Ratay / Šimon Rataj Simon Ratay / Šimon Rataj [24044b] Add files via upload

Read Me

Advanced-Division

Divide two numbers using recurring decimals

Include code:

<script src="https://cdn.jsdelivr.net/gh/ratajs/Advanced-Division@243807e4bde864decf4d18a11c9e836c5af88473/AdvDiv.min.js" type="text/javascript" integrity="sha384-rqDsKd8JKRuCuEwYL4QaHkMCQAbJDD7n7gLC2yXY+y6M8H+ihg4RambCHkHPiWL/" crossorigin="anonymous"></script>

Syntax:
advdiv(n1, n2, r, rstr1, rstr2)
* n1 – first number
* n2 – second number
* r – recurring decimals of the first number
* rstr1 – string of the recursion beginning
* rstr2 – string of the recursion end

Here is an online demo: https://ratajs.github.io/Advanced-Division/demo.html

The demo app is also available for download for Android, Windows and Linux on SourceForge.
You can also download the demo HTML.

Download Advanced Division