Classic ASP Type Conversion Question

Discussion in 'OT Technology' started by Kewlb, Jan 25, 2006.

  1. Kewlb

    Kewlb New Member

    Joined:
    Nov 21, 2002
    Messages:
    1,510
    Likes Received:
    0
    Hey,

    I have SQL 2K database fields of type Money and another of type Float.

    When I am pulling them into my ASP code I use CDbl() to convert them to a workable format. They multiply, divide, etc.. just fine, but when I go to display the resulted calculation its appearing as:

    x,xx instead of x.xx which is quite wierd.

    ie: say one field is 0.35 if I do a CDbl and then just response.write that field I get 0,35 instead of 0.35 -- anyone have any idea what is going on?
     
  2. 5Gen_Prelude

    5Gen_Prelude There might not be an "I" in the word "Team", but

    Joined:
    Mar 14, 2000
    Messages:
    14,519
    Likes Received:
    1
    Location:
    Vancouver, BC, CANADA
    European convention is to use a , instead of . - especially France.
     

Share This Page