anyone claiming 12.4 correct has lost their marbles dude.
no mater what comes after the 4 in 12.34 it's still going to be rounded to a 3.
the 4 part of 12.34 defines the 1st decimal number as beng closer to 3 than 4 (decimal number probably isn't the right term but you know what I mean the 1st number after the decimal point)
this is simple,
1.49 is very nearly 1.5 but it's not, it's <1.5 and therefore rounds to 1, try looking at everything after that first decimal as a whole not one by on from the right, that's madness.
same applys here. keep your collegues away from any important programming for all of our sakes!
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement