Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP 3 Classic ASP Active Server Pages 3.0 > BOOK: Beginning ASP 3.0
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 19th, 2004, 05:46 AM
Authorized User
 
Join Date: Mar 2004
Location: Plymouth, , United Kingdom.
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,

  #2 (permalink)  
Old March 19th, 2004, 07:32 AM
Imar's Avatar
Wrox Author
Points: 71,804, Level: 100
Points: 71,804, Level: 100 Points: 71,804, Level: 100 Points: 71,804, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,052
Thanks: 80
Thanked 1,581 Times in 1,558 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.
  #3 (permalink)  
Old May 7th, 2005, 04:53 PM
Registered User
 
Join Date: May 2005
Location: , Bedfordshire, United Kingdom.
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.
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 01:18 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.