when trying to convert a double to an integer, it always rounds up. Say I divide 2 numbers and get .8, it returns one, so what it the code to make it not round up, to return 0 instead? So whats the code to make it return 0, or is there?
|
Results 1 to 4 of 4
Thread: Converting Double to Int32Threaded View
|
Click Here to Expand Forum to Full Width |