( begin auto-generated from nfs.xml ) Utility function for formatting numbers into strings. Similar to nf() but leaves a blank space in front of positive numbers so they align with negative numbers in spite of the minus symbol. There are two versions, one for formatting floats and one for fo
(int num, int digits)
| 10030 | * @see PApplet#nfc(float, int) |
| 10031 | */ |
| 10032 | static public String nfs(int num, int digits) { |
| 10033 | return (num < 0) ? nf(num, digits) : (' ' + nf(num, digits)); |
| 10034 | } |
| 10035 | |
| 10036 | /** |
| 10037 | * @param nums the numbers to format |