Click here to Skip to main content
15,886,810 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
how to round off value when its 2.1 it will take 3 not 2 please help me
Posted
Comments
Maciej Los 29-Apr-13 1:51am    
What have you tried till now?

1 solution

i have done it by Using
VB
roundedValue = Math.Ceiling(InitialValue)
 
Share this answer
 
v2
Comments
Maciej Los 29-Apr-13 1:59am    
Good work, +5!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900