T
tshad
How do I display an amount as money (with commas and dollar signs) as well
as only showing the whole number?
For example, I can take an amount which is defined as money and display it
with commas like so (in Sql Server),
SalaryMaxDesc=CONVERT(varchar, CAST(SalaryMax AS money), 1)
From this I get
52,000.00
What I would like to get is
$52,000
or for
20.00
I would like to get $20
How could I do this in Asp.Net?
Thanks,
Tom
as only showing the whole number?
For example, I can take an amount which is defined as money and display it
with commas like so (in Sql Server),
SalaryMaxDesc=CONVERT(varchar, CAST(SalaryMax AS money), 1)
From this I get
52,000.00
What I would like to get is
$52,000
or for
20.00
I would like to get $20
How could I do this in Asp.Net?
Thanks,
Tom