Skip to content

Commit 4cda385

Browse files
authored
Update index.html
1 parent dd7bee2 commit 4cda385

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

index.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,17 @@
1212
function _ab(val)
1313
{
1414
var obj = new BigEval();
15-
return obj.exec(val)
16-
console.log(val)
15+
result=obj.exec(val)
16+
return result;
17+
console.log(val,result)
1718

1819
}
1920

2021
function auto_update()
2122
{
2223
var numString = document.getElementById('_word').value;
2324
n=_ab(numString)
24-
document.getElementById('container').innerHTML = `total value of ${n[0]} after gst would be ${n[1]}`;
25+
document.getElementById('container').innerHTML = `total value of ${n[0]} after gst would be ${n[1]}`;
2526
// console.log(numString);
2627
}
2728

0 commit comments

Comments
 (0)