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. */
| 143 | * Must have at least uintToStringBufferSize chars free. |
| 144 | */ |
| 145 | static inline void uintToString(LargestUInt value, char*& current) { |
| 146 | *--current = 0; |
| 147 | do { |
| 148 | *--current = char(value % 10) + '0'; |
| 149 | value /= 10; |
| 150 | } while (value != 0); |
| 151 | } |
| 152 | |
| 153 | /** Change ',' to '.' everywhere in buffer. |
| 154 | * |