Converts an unsigned integer to string. * @param value Unsigned interger to convert to string * @param current Input/Output string buffer. * Must have at least uintToStringBufferSize chars free. */
| 142 | * Must have at least uintToStringBufferSize chars free. |
| 143 | */ |
| 144 | static inline void uintToString(LargestUInt value, char *¤t) { |
| 145 | *--current = 0; |
| 146 | do { |
| 147 | *--current = char(value % 10) + '0'; |
| 148 | value /= 10; |
| 149 | } while (value != 0); |
| 150 | } |
| 151 | |
| 152 | /** Change ',' to '.' everywhere in buffer. |
| 153 | * |