By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,379 Members | 1,380 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,379 IT Pros & Developers. It's quick & easy.

price field

P: 58
using sql server 2005.
currently using following piece of code to display numeric field like price:

CONVERT(varchar, CAST(m.V_ASSESS.TOL_AV AS money), 1) AS TOL1

it is displaying as
$123,4.00

I want to remove .00
Please suggest some solution.

thks
Mar 26 '08 #1
Share this Question
Share on Google+
1 Reply


ck9663
Expert 2.5K+
P: 2,878
using sql server 2005.
currently using following piece of code to display numeric field like price:

CONVERT(varchar, CAST(m.V_ASSESS.TOL_AV AS money), 1) AS TOL1

it is displaying as
$123,4.00

I want to remove .00
Please suggest some solution.

thks

What happen if there are decimal values?

-- CK
Mar 26 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.