Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Oct 2003
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    money field/sql database

    I have a money field in a MSSQL database. When I enter a price of 10.50, it formats to 10.5

    When I run a query to display this on an asp page it displays 10.5 instead of 10.50

    How can I get it to display 10.50?
    Last edited by efeller; 02-17-2007 at 04:21 AM.

  • #2
    Registered User
    Join Date
    Jan 2006
    Posts
    130
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Response.Write(FormatCurrency(variable,2))


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •