Avatar of AmitJain001
AmitJain001
 asked on

VB Script Round Function is not functioning correctly.

Hi Experts,

In vb script I have sent an arithmetic expression which is divisible by 2 is not rounding correctly : eg;
"Eval" functions return 80 for expression 80.5 but it should be rounded to next number.
how can this be achieved

I have tried evaluating following expression but it also throws error :

Val(Format((( 23 + 24 + 22 + 18 + 21 + 23 + 21 + 23 ) /2.0 ) ,"0") )

Thanks.
.NET Programming

Avatar of undefined
Last Comment
AmitJain001

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Jacques Bourgeois (James Burger)

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
AmitJain001

ASKER
thnx JamesBurger, I have raised it under another topic now.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy