MCPcopy Create free account
hub / github.com/Vishal-raj-1/Awesome-JavaScript-Projects / percent

Function percent

assets/js/Sci_Cal.js:36–39  ·  view source on GitHub ↗
(input)

Source from the content-addressed store, hash-verified

34}
35var val = 0.0;
36function percent(input) {
37 val = input.value;
38 input.value = input.value + "%";
39}
40
41function changeSign(input) {
42 if(input.value.substring(0, 1) == "-")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected