MCPcopy Index your code
hub / github.com/processing/processing / nf

Method nf

core/src/processing/core/PApplet.java:9888–9894  ·  view source on GitHub ↗
(float num)

Source from the content-addressed store, hash-verified

9886 // INT NUMBER FORMATTING
9887
9888 static public String nf(float num) {
9889 int inum = (int) num;
9890 if (num == inum) {
9891 return str(inum);
9892 }
9893 return str(num);
9894 }
9895
9896 static public String[] nf(float[] nums) {
9897 String[] outgoing = new String[nums.length];

Callers 7

saveFrameMethod · 0.95
insertFrameMethod · 0.95
mapMethod · 0.95
nfsMethod · 0.95
nfpMethod · 0.95
updateCheckMethod · 0.95
handleNewMethod · 0.95

Calls 3

strMethod · 0.95
formatMethod · 0.65
getInstanceMethod · 0.45

Tested by

no test coverage detected