( begin auto-generated from nfc.xml ) Utility function for formatting numbers into strings and placing appropriate commas to mark units of 1000. There are two versions, one for formatting ints and one for formatting an array of ints. The value for the digits parameter should always be a posi
(int nums[])
| 9977 | * @see PApplet#nfs(float, int, int) |
| 9978 | */ |
| 9979 | static public String[] nfc(int nums[]) { |
| 9980 | String formatted[] = new String[nums.length]; |
| 9981 | for (int i = 0; i < formatted.length; i++) { |
| 9982 | formatted[i] = nfc(nums[i]); |
| 9983 | } |
| 9984 | return formatted; |
| 9985 | } |
| 9986 | |
| 9987 | |
| 9988 | /** |
no test coverage detected