Questions et réponses pour le bankers-rounding :
Récupérer tout FAQ sur les banquiers-arrondis
9
votes
C # Erreur d'arrondi par le banquier
double a = 18.565 return Math.Round(a,2) ..returns 18.57. For every other number I tried banker's rounding worked as expected, for example Math.Round(2.565,2) returned 2.56.Any clue why and when ...
c#
rounding
bankers-rounding
1 commentaire(s)