Open GoogleCodeExporter opened 9 years ago
double a = 2432.2342423424; int b = (int) a; Console.WriteLine(b.ToString()); Expected output: 2432 Actual output: 2432.2342423424 (tested on Chromium)
Original issue reported on code.google.com by yvan.rod...@gmail.com on 5 Oct 2012 at 4:16
yvan.rod...@gmail.com
Workaround: I have implemented Math.Truncate()
Original comment by yvan.rod...@gmail.com on 5 Oct 2012 at 4:31
Original issue reported on code.google.com by
yvan.rod...@gmail.com
on 5 Oct 2012 at 4:16