Annuler l'arrondi d'un montant

Copper Contributor

Bonjour à tous,

 

Je dois calculer un montant à payer à partir d'heures en décimales, mais lorsque je procède à la multiplication des cellules heures décimales (7.42) par la cellule taux horaire (18) je me retrouve avec un montant arrondi de 133.50€ au lieu de 133.56€.

 

Comment faire pour annuler cela ?

Comptant sur votre expertise !  

2 Replies

@apoleya I suspect that this is a rounding issue and assume that 7.42 actually relates to 7 hours and 25 minutes, which actually equals 7.416666666667. Multiply that by 18 and you get 133.50.

7.42 hours represents 7 hours, 25 minutes and 12 seconds. Is that really what you want to be the basis for your calculation?

@Riny_van_Eekelen 

I agree.

To change the time in minutes to the nearest 1/100 of an hour one would need to round the time interval using in the (English locale) formula
= ROUND(hours, 2)