Wrox Programmer Forums
|
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP 3.0 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 19th, 2004, 05:46 AM
Authorized User
 
Join Date: Mar 2004
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 15 - Changing Type of Currency

Has any one got any ideas on how you can change the currency symbol from us dollars ($) to uk pounds (£)? I have changed the symbol in the access database however the problem still remains.

Many Thanks,

 
Old March 19th, 2004, 07:32 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

How do you display the currency symbol?

Usually, the "locale" determines the currency symbol. You'll need to switch the locale so it uses a £ instead of the $.

Search Google for "Session.LCID" AND currency and you'll get plenty of info.

Personally, I prefer to store currencies as normal numbers, and add a currency column to my table to keep track of the currency. I am not too happy with letting ASP or the database determine the currency symbol.

Cheers,

Imar


---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
 
Old May 7th, 2005, 04:53 PM
Registered User
 
Join Date: May 2005
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

:)You do have to set your local settings in Control Panel to English(United Kingdom) but I found that the tables in the database had a '$##:##' mask set on the format of the table. Click in any currency field in design view and change the mask to the word 'currency' from the pick list so that the default currency format £#.00 is used instead.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing Data type samnachilomo SQL Server 2000 1 November 25th, 2006 03:25 PM
Changing Data Type Behaviour mat41 SQL Server ASP 8 August 28th, 2006 07:17 PM
changing the point type anukagni Access 2 July 29th, 2006 12:04 AM
Chapter 3 : type changing frjacquemin BOOK: Beginning Mac OS X Programming 3 November 14th, 2005 10:02 PM
Changing data type JLN Pro VB 6 1 July 13th, 2004 12:49 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.