469,138 Members | 1,284 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,138 developers. It's quick & easy.

select a field declared as "money" and have the output decimal free

I want to select a filed that is declared as money and have the output of that select statement be decial point free. Do I use Cast?
Jul 18 '07 #1
1 1141
ck9663
2,878 Expert 2GB
I want to select a filed that is declared as money and have the output of that select statement be decial point free. Do I use Cast?
try:

select cast(cast('232.34' as money) as int)
Jul 19 '07 #2

Post your reply

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

Similar topics

1 post views Thread by Chumley the Walrus | last post: by
4 posts views Thread by digitalavatar | last post: by
5 posts views Thread by Dan C Douglas | last post: by
4 posts views Thread by Jerry | last post: by
2 posts views Thread by Randy Smith | last post: by
6 posts views Thread by darkride | last post: by
1 post views Thread by Mortomer39 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.