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

rounding and expression up or down.

P: 2
Hi I am trying to build an experssion that will return values that have + seven or eight figures after the decimal point and i need help with how to round it up or down to a single number.... ie 10.56987 and i want to see only 11 as the result. Please can someone help me?
Oct 30 '08 #1
Share this Question
Share on Google+
2 Replies

Expert 2.5K+
P: 3,532
Well there's the aptly named function Round().

Round(10.5) will return 10

Round(10.50000001) will return 11

as will


Welcome to Bytes!

Linq ;0)>
Oct 30 '08 #2

P: 2
Mwah... thank you!!!
Nov 3 '08 #3

Post your reply

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