472,096 Members | 2,226 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,096 software developers and data experts.

price field

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
1 1151
ck9663
2,878 Expert 2GB
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.

Similar topics

10 posts views Thread by Ed | last post: by
3 posts views Thread by Gigi.com | last post: by
6 posts views Thread by Patrick Fisher | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.