tags:

views:

38

answers:

2

Ok this is new, Math.Round(1.5) returns 2, i need 1.

How to handle this?

[EDITED] I know its the elementary default way, i need the opposite.

Wrong typing meaning.

Any Suggestions?

+4  A: 

You can adjust the result.

See: http://msdn.microsoft.com/en-us/library/ef48waz8.aspx

Daniel A. White
+1. Sweet. Ya' learn something new every day. =)
Benny Jobigan
+2  A: 

Try Math.Floor() or Math.Ceiling() ...?

Benny Jobigan
Just what i needed, thanx ;)