MCPcopy Create free account
hub / github.com/GamerHack/GamerHack.github.io / zeroFill

Function zeroFill

restore/505goldhen/exploit.js:25–30  ·  view source on GitHub ↗
(number, width)

Source from the content-addressed store, hash-verified

23 return text;
24}
25function zeroFill(number, width) {
26 width -= number.toString().length;
27 if (width > 0)
28 return new Array(width + (/\./.test(number) ? 2 : 1)).join('0') + number;
29 return number + "";
30}
31function int64(low, hi) {
32 this.low = (low >>> 0);
33 this.hi = (hi >>> 0);

Callers 1

int64Function · 0.70

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected