How would you round this up to the nearest minute? There isn't a built in function to do this so you have to use a little bit of maths to get there. There are 60 seconds in a minute. We already have 38 seconds on the clock. So we need to add on 60 - 38 = 22 more seconds.

Hi All, I have createdone javascript by which you canvalidate a decimal value of any textbox for which you want. By thisjavascriptwecan bind user to enter only digits in textbox. and when he will enter any decimal value javascript will do round off it

when i finding the value to round some decimal or double number below problem i faced
system.math.round(12.50) ans: 12
system.math.round(12.51) ans: 13
the same problem also in floor function .........these problems in framework 3.5 and framework 4.0 also

Hello,
I would just like to know if anyone can give me some advice on how to take a jpeg image and make the corners rounded at runtime using gdi+ and aspnet.
Thanks in advance
Wesley

Not my original db, data or procedure as I have been tasked with developing an updated infosys (to a .NET app and SQLServer db). Anyway, the original app/db has a rounding specification that is a bit strange to me and need some input on how I should
proceed. The original system architects decided they'd perform a round down on a particular field (int) which is ultimately used in a fee calculation.

Not a big deal because I could just issue a ROUND(theField, -2) --- But I found a problem. At first glance it seemed that they wanted to round to the 10th:

3143 would round to 3100 with ROUND(3143, -2)

But if I come across a value such as 4075 this would then round to 4100 with ROUND(4075, -2) WHEN THEY WANT THIS TO BE 4000. That is, to arrive at 4000, then I'd need to issue a different ROUND(4075, -3)

Does this make sense?

How should I approach this?

Is this a proceedure/logic probelm or am I looking at this with too limited vision in what needs to be done (SQL-wise)?

Thanks for your input,

j

James Crandall ~ http://javitechnologies.com Spatial Database Solutions

Is there a way to customize a slider to be round - basically I want a user to be able to turn a dial like control - I figured a slider would be best since I need a percentage value? Any suggestion/ideas would be helpful on how to go about doing this?

i've try http://jquery.malsup.com/corner/,but doesn't work for me ,i mean the parent color and transparency are preserver,the corners are blue colored.

## Round off time to the nearest minute