Math.Round(decimal) Problem
Ok this is new, Math.Round(1.5) returns 2, i need 1.
How to handle this?
[EDITED] I know its the elementa开发者_如何学编程ry default way, i need the opposite.
Wrong typing meaning.
Any Suggestions?
You can adjust the result.
See: http://msdn.microsoft.com/en-us/library/ef48waz8.aspx
Try Math.Floor() or Math.Ceiling() ...?
精彩评论