From: Old Pedant on


"zz12" wrote:

> Wow, very interesting information and am grateful for you all for your
> helpful replies. Sorry if I've sparked some debate...

I think we are generally all in agreement. It was just my usual
over-enthusiastic response that Anthony (rightfully) objected to.

And I can prove my assertion about arithmetic and DECIMAL. Here, a
variation on that previously posted page:
http://www.clearviewdesign.com/newbie/demos/datatypes2.asp

This one doesn't make a lot of sense unless you go read the ASP source code,
via the provided button.


From: Old Pedant on


"Bob Barrows [MVP]" wrote:

> Old Pedant wrote:
> > It can't do *ANY* arithmetic on DECIMAL values.
>
> That is not my experience. I never use float and I never have type
> mismatches when doing math with the retrieved data.

Here, I owe you this for "shouting" at you.

http://www.clearviewdesign.com/newbie/demos/datatypes2.asp

Click on the button to see the source code.

I only did addition and multiplication, but that should be enough, no?


From: Bob Barrows [MVP] on
Old Pedant wrote:
> "Bob Barrows [MVP]" wrote:
>
>> Old Pedant wrote:
>>> It can't do *ANY* arithmetic on DECIMAL values.
>>
>> That is not my experience. I never use float and I never have type
>> mismatches when doing math with the retrieved data.
>
> Here, I owe you this for "shouting" at you.
>
> http://www.clearviewdesign.com/newbie/demos/datatypes2.asp
>
> Click on the button to see the source code.
>
> I only did addition and multiplication, but that should be enough, no?

Absolutely. I'll take a look at it this weekend

--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.