ajout arrondi calcul date

This commit is contained in:
Jean-Christophe Engel 2025-02-04 14:52:50 +01:00
parent 17d132ffa2
commit 2c11d3e4f3

View File

@ -16,6 +16,4 @@
{{:assign nbjours="-1*%d"|math:$nbjours}}
{{/if}}
{{* pour simplifier : 360 jours par an *}}
{{if $nbjours > 360}}
{{:assign nbjours=360}}
{{/if}}
{{:assign nbjours="round(%f/365*360)"|math:$nbjours}}