In article <200001051726.SAA03589 at aalborg.du.uab.ericsson.se>, Per Hedeland <per at erix.ericsson.se> wrote; } - the four-digit version of y_in is given by: } } y_out = y_in + (y_now / 100 + (y_now % 100 - y_in) / 50) * 100; Ok, I adopt this one. -- Katsuhiro Kondou