Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_databases thread: SV: RE: One last counting-prob =)


Message #1 by "SD-Studios" <info@s...> on Tue, 9 Apr 2002 20:06:01 +0200
Thanks!
--
Martin Johansson,
CEO & Project Supervisor
SD-Studios
+46 (0)70-3003320
http://www.sd-studios.com


-----Ursprungligt meddelande-----
Från: Peter Foti (PeterF) [mailto:PeterF@S...]
Skickat: den 9 april 2002 20:03
Till: ASP Databases
Ämne: [asp_databases] RE: One last counting-prob =)


I think you need to declare points as the correct data type.  In this
case, a Double.

points = CDbl(rs("points")) + CDbl(0.25)

Try that.
Pete


> -----Original Message-----
> From: SD-Studios [mailto:info@s...]
> Sent: Tuesday, April 09, 2002 1:45 PM
> To: ASP Databases
> Subject: [asp_databases] One last counting-prob =)
>
>
> I want to add 0,25 points when a user does something. But it
> seems like its
> not possible to write:
>
> points = rs("points") + 0,25
>
> And this doesnt work either:
>
> points = rs("points") + 0.25
>
> But when I add 1 to the points-variable it works just fine.
> How to make this
> work? Thanks..!
> --
> Martin Johansson,
> CEO & Project Supervisor
> SD-Studios
> +46 (0)70-3003320
> http://www.sd-studios.com
>
>
>



  Return to Index