Use /=
This commit is contained in:
parent
64f471a31f
commit
06d187c8ed
|
@ -976,7 +976,7 @@ public class FastDatePrinter implements DatePrinter, Serializable {
|
||||||
int digit = 0;
|
int digit = 0;
|
||||||
while (value != 0) {
|
while (value != 0) {
|
||||||
work[digit++] = (char) (value % 10 + '0');
|
work[digit++] = (char) (value % 10 + '0');
|
||||||
value = value / 10;
|
value /= 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
// pad with zeros
|
// pad with zeros
|
||||||
|
|
Loading…
Reference in New Issue