MCPcopy Create free account
hub / github.com/HasmikSarg/CalcOldVersion / printOutput

Function printOutput

JS/script.js:17–20  ·  view source on GitHub ↗
(num)

Source from the content-addressed store, hash-verified

15}
16
17function printOutput(num) {
18 getElementById("output-value").textContent =
19 num === "" ? num : getFormattedNumber(num);
20}
21
22// Formatting and reversing number functions
23function getFormattedNumber(num) {

Callers 1

script.jsFile · 0.85

Calls 2

getElementByIdFunction · 0.85
getFormattedNumberFunction · 0.85

Tested by

no test coverage detected