Check out example codes for "c# round number down". It will help you in understanding the concepts better.
Code Example 1
double number = 1.5362
int floored = Math.Floor(number)
//rounds number to 1
Learn ReactJs, React Native from akashmittal.com