MCPcopy Index your code
hub / github.com/benfry/processing4 / nfc

Method nfc

core/src/processing/core/PApplet.java:9083–9089  ·  view source on GitHub ↗

Utility function for formatting numbers into strings and placing appropriate commas to mark units of 1000. There are four versions: one for formatting ints, one for formatting an array of ints, one for formatting floats, and one for formatting an array of floats. The value for the ri

(int[] nums)

Source from the content-addressed store, hash-verified

9081 * @see PApplet#nfs(float, int, int)
9082 */
9083 static public String[] nfc(int[] nums) {
9084 String[] formatted = new String[nums.length];
9085 for (int i = 0; i < formatted.length; i++) {
9086 formatted[i] = nfc(nums[i]);
9087 }
9088 return formatted;
9089 }
9090
9091
9092 /**

Callers 1

setRowCountMethod · 0.95

Calls 2

formatMethod · 0.65
getInstanceMethod · 0.45

Tested by

no test coverage detected