Fix computation of depreciation for duration under 1 month

issue4151
review12531002
(grafted from 8bdb54c71a8391d558d33767ceea8bc54b3e0e2b)

--HG--
branch : 3.2
extra : source : 8bdb54c71a8391d558d33767ceea8bc54b3e0e2b