Whenever this law, or any amendment of this law, requires a computation, for any purpose, of the years of creditable service of any active or retiring officer or employee, fractional parts of years of service shall be counted.