MCPcopy Create free account
hub / github.com/Code-Bullet/Jump-King / addNfp

Function addNfp

libraries/p5.js:31232–31237  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31230};
31231
31232function addNfp() {
31233 return (
31234 parseFloat(arguments[0]) > 0) ?
31235 '+'+arguments[0].toString() :
31236 arguments[0].toString();
31237}
31238
31239/**
31240 * Utility function for formatting numbers into strings. Similar to nf() but

Callers 1

p5.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected