As the title suggests I need a C# equivelant of ROUNDDOWN.
For example, if you take the figure 13.608000, the output i am looking for is 13.60.
I can’t seem to find anything that covers exactly what I am after.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You could do the following:
Note that Math.Floor() rounds down to the nearest integer, hence the need to multiply, round down, and then divide.