Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VB.NET
how to round off value when its 2.1 it will take 3 not 2 please help me
Posted 28-Apr-13 20:38pm
Comments
Maciej Los at 29-Apr-13 1:51am
   
What have you tried till now?

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

i have done it by Using
roundedValue = Math.Ceiling(InitialValue)
  Permalink  
v2
Comments
Maciej Los at 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)



Advertise | Privacy | Mobile
Web02 | 2.8.1411022.1 | Last Updated 29 Apr 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100