Skip to content

Commit 637ddc2

Browse files
authored
Add ExpantaNum HTML file with input/output functionality
1 parent 78e91a5 commit 637ddc2

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

notations/normal/ExpantaNum.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<script src="https://makinishi3.github.io/notations/normal/package/ExpantaNum.js"></script>
2+
<script src="./ExpantaNum.js"></script>
3+
<script>
4+
function run(){
5+
var v=new Decimal(document.getElementById("input").value);
6+
document.getElementById("output").innerHTML=notations.normal.ExpantaNum(v);
7+
}
8+
</script>
9+
<input id="input" value="0" onchange="run()"><br>
10+
Your number is denotated as: <span id="output">0</span>.

0 commit comments

Comments
 (0)