Set Precision to Variable of type double in ASP

Discussion in 'ASP General' started by anilgiri2010a, Jan 25, 2012.

  1. anilgiri2010a

    anilgiri2010a

    Joined:
    Jan 19, 2012
    Messages:
    3
    Location:
    pune
    How to Set Precision to Variable of type double ? So that it will display only two digits after point? eg. 240.34
    anilgiri2010a, Jan 25, 2012
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Daniel Geisenhoff

    Bug in double precision computing?

    Daniel Geisenhoff, Jul 29, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    332
    Shan Plourde
    Jul 29, 2004
  2. Wolfgang
    Replies:
    4
    Views:
    5,127
    Andrew Hobbs
    Feb 24, 2004
  3. Sydex
    Replies:
    12
    Views:
    6,484
    Victor Bazarov
    Feb 17, 2005
  4. haley
    Replies:
    7
    Views:
    2,993
    Chris Uppal
    Jan 4, 2007
  5. neerajb@noida.nospamhcltech.com

    Double data type subtraction changes precision

    neerajb@noida.nospamhcltech.com, Feb 13, 2009, in forum: ASP .Net
    Replies:
    1
    Views:
    841
    neerajb@noida.nospamhcltech.com
    Feb 14, 2009
Loading...

Share This Page