What exactly do you mean? In Java Math.floor and Math.ceil still return
whole numbers - as doubles, so you'd still need to cast to int, but
even so, you still don't need the extra call.
Yes, in C#, Math.Floor will return an already casted double value, so there
is no need to call Math.Round.
Anyway, this is a little case, which does not matter.
If you have any further question, please feel free to post, I will help you.
Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.