Ask a Question related to Coldfusion Database Access, Design and Development.
-
UpstateWeb #1
Is it best to use Currency or Number for dollar values?
I have been using Currency as the data type of choice for allowing clients to
update dollar values (rate, fee, price) into an MS Access database. It seems to
me though that I should be using just a number field. Then use CF to handle how
it is displayed. Does any body have any words of wisdom on this?
If so, what is the 'Best' way to define the number data type? (Long Integer,
Integer, Double, Decimal, etc..)
Thanks in advance,
Rock Moore
UpstateWeb Guest
-
#40174 [NEW]: is_numeric with currency values
From: sehh at altered dot com Operating system: Fedora Core Linux PHP version: 5.2.0 PHP Bug Type: Math related Bug... -
Convert currency to number error
Hi, I am having problems converting from a currency to a number. The error occurs when the form is submitted but it is fine when I remove the... -
Dollar sign not displaying with cfchartlabelformat=currency
Environment: ColdFusion MX 6.1 (6,1,0,83762) on JRun 4 w/ Updater 4 Solaris 9 Sun Java version 1.4.2-b28 (default installed version w/ CFMX and... -
Currency values display problems
I'm still working on a intranet site builded on IBUYSPORTAL framework. This site is configured with NT-Autorization and running with impersonate =... -
format number into currency format ($1,000,000.00)
SELECT '$' + CONVERT(VARCHAR, CONVERT(MONEY, 1000000), 1) "lamP" <phantlam@yahoo.com> wrote in message... -
BKBK #2
Re: Is it best to use Currency or Number for dollarvalues?
I would stick with Currency , especially as your clients need to interface
directly with your database. Then, use Coldfusion to strip out the currency
symbol if and where necessary. This seems to me a more intuitive approach,
involving much less work than the change you propose.
BKBK Guest
-
JMGibson3 #3
Re: Is it best to use Currency or Number for dollarvalues?
If you DO decide on non-Currency, be aware that even though stupid Access
allows you to specify decimals on Integer and Long Integer (should be greyed
out IMO), when you actually insert something with decimals, the decimals are
tossed.
JMGibson3 Guest



Reply With Quote

