Problably an easy questions but this calculation bothers me.. why is double test = 57.05 - 57 equal to 0.049999999999997158 and not 0.05? And which datatype should I use to get the correct result?
Problably an easy questions but this calculation bothers me.. why is double test =
Share
Use a
decimal. And read this.