In C#, I\'m trying to get the last two decimal places of a double with NO rounding. I\'ve tried everything from Math.Floor to Math.Truncate and nothin
Math.Floor
Math.Truncate
Math.Round(NumberToRound - (double)0.005,2)
i.e
Math.Round(53.5821 - (double)0.005,2) // 53.58 Math.Round(53.5899 - (double)0.005,2) // 53.58 Math.Round(53.5800 - (double)0.005,2) // 53.58