Viewing 15 posts - 4,036 through 4,050 (of 6,036 total)
You cannot do any better than David's version unless you know the unique key for the table.
Aaron assumed it's Column1 + Column3, but it's probably not.
Lack of information.
June 13, 2007 at 3:43 pm
David, we all have already passed this track.
2 errors in your test:
1) you're performing implicit conversions without displaying its results;
2) you did not take for the taet values indicated earlier...
June 13, 2007 at 3:22 pm
What was the datatype of the value you supplied to the function?
Can you show here precise (according to your requirements) representation of 2/3 in that datatype and the way you've...
June 13, 2007 at 3:05 pm
Rounding is exactly how you represent a shortened version of a number. In other words, they are approximations.
Really?
Did you think a second before writing that?
Have you found answers on...
June 13, 2007 at 2:59 pm
If you're asking about SQL2000 the answer is "no".
If you're asking about SQL2005 you picked the wrong forum.
June 13, 2007 at 7:00 am
You claimed that you did.
But you did not.
I checked the value you supplied - it was 0.66666666.
(2/3) * 3 should be exactly 2.(0)
Right?
Lets' check:
0.66666666 * 3 = 1.99999998
Not as expected.
You...
June 13, 2007 at 6:44 am
You definitely never lived in socialist country.
Go to Cuba or North Korea and tell them about choice.
I believe even Russia or China will be something undiscovered for you.
June 13, 2007 at 6:38 am
Sorry, David,
I see you're not only bad in math, you're bad in reading.
All your books tell about approximations, roundings, but not representations before rounding.
And your "one cite" cotradicts itself: in...
June 13, 2007 at 6:28 am
I wonder where did you find I'm so stubborn about this?
Where did I object using of BR is it defined by somebody as a business rule?
> If I don't like...
June 13, 2007 at 6:14 am
> I just think it would be nice for those who need it to have a good quality tool.
So, what's a problem to prove the good quality of the...
June 13, 2007 at 6:07 am
So, what all this was about?
You described traditional rounding rule, accepted everywhere as a standard procedure.
I accept this rounding as a valid method and use it.
BR breaks this rule, so...
June 13, 2007 at 5:53 am
Half of dollar is goind down, half of dollar is going up - sounds absolutely fair.
June 13, 2007 at 5:27 am
Why don't you think I'm doing great job?
Does your opinion depends on amount charged?
It's unfair either to lose or gain extra half cent.
There is a rule - round to the...
June 13, 2007 at 5:16 am
If you are happy to be charged more just because rounding function I use produces errors time to time...
You know, I can add a whole lot of actual and possible...
June 13, 2007 at 5:00 am
I'll lose both times:
1.0450000000000001
and
1.0449999999999999
will both be rounded down.
June 13, 2007 at 4:42 am
Viewing 15 posts - 4,036 through 4,050 (of 6,036 total)