![]() |
|
|
|||||||
![]() |
ASP Net - Re: rounding values to the nearest 5 or 10 |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
Check out Math.Round
http://msdn2.microsoft.com/en-us/lib...0k(VS.80).aspx "Milsnips" <> wrote in message news:%... > hi there, > > any help with this one? i have say, numbers which i'd like to be rounded > to the nearest 5 or 10, example: > > 147.24 -->>150 > 181.99 -->> 180 > 824.18 -->>825 > 822.49 -->>820 > > and so on.. is there anything that i can do this right away in .net or > would i have to somehow create my own little rounding function for this? > > thanks, > Paul > Greg Young [MVP] |
|
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Cisco QOS MIB values required | manjunatht | Hardware | 1 | 06-13-2008 02:34 PM |
| Values set by javascript are not reflected in serverside(.Net) | rchimakurty | Software | 2 | 11-28-2007 10:07 AM |
| Checkbox values problem in gridview | thanigaimani.thirumalai | Software | 0 | 11-09-2007 05:12 AM |
| Cisco QOS MIB values required | manjunatht | Software | 0 | 09-11-2007 05:40 PM |
| How to make the form View save it's field values in Visual Stdio .NET | asammoud | Software | 0 | 07-17-2007 10:57 AM |