decimal places

Discussion in 'ASP General' started by SusieQ, Nov 2, 2004.

  1. SusieQ

    SusieQ Guest

    Hi All
    can anyone tell me the easiest way to make sure numbers get passed with 2
    decimal places?

    ie:
    <select name="TagCost" id="TagCost">
    <option value="25.00">1 @ 25.00</option>
    <option value="50.00">2 @ 25.00</option>
    </select>

    fprice=request("TagCost") <------- need to make sure this is 25.00 not 25

    TIA
     
    SusieQ, Nov 2, 2004
    #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. Eoin Mcloughlin

    Decimal places and huge fractions.

    Eoin Mcloughlin, Feb 11, 2004, in forum: Perl
    Replies:
    5
    Views:
    1,618
    Eoin Mcloughlin
    Feb 13, 2004
  2. Curt_C [MVP]

    Re: beginner: prob with decimal places

    Curt_C [MVP], May 18, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    339
    Curt_C [MVP]
    May 18, 2004
  3. Curt_C [MVP]

    Re: beginner: prob with decimal places

    Curt_C [MVP], May 18, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    544
    Curt_C [MVP]
    May 18, 2004
  4. Harry

    Remove Decimal Places

    Harry, Jun 3, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    8,967
    VB Programmer
    Jun 3, 2004
  5. Bharat Bhushan

    Decimal Places

    Bharat Bhushan, Aug 8, 2003, in forum: Java
    Replies:
    2
    Views:
    515
    Lee Weiner
    Aug 8, 2003
Loading...

Share This Page