Currency Format ASP VBScript --

Posted on 2011-10-23
Last Modified: 2012-05-12
Hi Guys,

Please help, When I call -


I want to get £25,000

But Instead I'm getting -


Appreciate the help - thank you
Question by:garethtnash
    LVL 15

    Accepted Solution

    LVL 59

    Assisted Solution

    by:Chris Bottomley
    I guess it depends on the server locale:

    You could prepend it with:


    LVL 7

    Assisted Solution

    This will also depend on the installed languages on the server. If they don't support the £ symbol you will get that.

    Try view the page source, go to where the £25000 is (or is supposed to be) and see how it shows up in the raw HTML.

    That would give you a good clue as to what is going on.

    Failing that, you can use HTML code for this:


    That is the £ symbol. Format the number as decimal and tack that on the beginning.

    Another thing you could try, is tacking on this header:

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">


    Author Closing Comment

    thank you

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
    This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
    In this tutorial viewers will learn how add a full-size background image to a webpage using CSS3. Create a new HTML document with an internal stylesheet.: In CSS, define the html element to have a background image. Use a high resolution image.: In t…
    The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now