MCPcopy Create free account
hub / github.com/Semporia/Scripts / prefixInteger

Function prefixInteger

JDJRValidator_Pure.js:357–359  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

355 }
356
357 function prefixInteger(a, b) {
358 return (Array(b).join(0) + a).slice(-b)
359 }
360
361 function pretreatment(d, c, b) {
362 var e = string10to64(Math.abs(d));

Callers 1

pretreatmentFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected