Ask a Question related to Microsoft SQL / MS SQL Server, Design and Development.
-
RK #1
format currency
Hello All & Greetings.
Can someone pl tell me in a hurry how I can format a currency item in 2
decimal places.
thanks in advance.
RK
RK Guest
-
Currency Converter
Hi, I am looking for a free and customizable currency converter for my website. In particular I would like to be able to change the language and... -
How do I view currency field in format $xx.xx
Hi everybody, I would like to know how do I view a value that has a currency type (Access) in the format $xx.xx. An example of what I would like to... -
Format Currency in ASP?
Is there an easy way to format a number into a currency display style eg: $100,000. I have this set in my Access database on the field but my asp... -
Format Textbox on exit to Currency
I am new to ASP/VBScript and I am trying to format a texbox when a user exits it. In Visual Basic you could put the following in the Exit property... -
format number into currency format ($1,000,000.00)
SELECT '$' + CONVERT(VARCHAR, CONVERT(MONEY, 1000000), 1) "lamP" <phantlam@yahoo.com> wrote in message... -
Steve Kass #2
Re: format currency
Here are some choices. Formatting in SQL Server is limited,
since it is not intended to be a report generator.
declare @m money
set @m = 99999
select convert(varchar(30), @m, 1)
select convert(varchar(30), @m, 3)
select cast(@m as decimal(20,2))
Steve Kass
Drew University
RK wrote:
>Hello All & Greetings.
>
>Can someone pl tell me in a hurry how I can format a currency item in 2
>decimal places.
>
>thanks in advance.
>
>RK
>
>
>
>Steve Kass Guest
-
Andrew J. Kelly #3
Re: format currency
If your talking about displaying only 2 decimal places then take a look in
BooksOnLine under CONVERT and go about half way down to see a chart of 3
options for formatting currency.
--
Andrew J. Kelly
SQL Server MVP
"RK" <kishanb@cansciences.com> wrote in message
news:ei5Vju%23PDHA.3768@tk2msftngp13.phx.gbl...> Hello All & Greetings.
>
> Can someone pl tell me in a hurry how I can format a currency item in 2
> decimal places.
>
> thanks in advance.
>
> RK
>
>
Andrew J. Kelly Guest
-
nrutter #4
Format Currency
I was using a number stepper for currency and I am now switching the code to
just a textInput. I am using the below code but if I set it this way it
doesn't allow me to use a peroid to seperate my dollar amounts. Example if I
type 3.22 it comes out as 322 I need it to allow the decimal
<mx:TextInput id="TXTpostageTotal" text="{caseVO.postageTotal}"
change="caseVO.postageTotal = Number(TXTpostageTotal.text);doUpdate();"/>
nrutter Guest



Reply With Quote

