Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


if x=round(26.3,10)-1 then x= how much and how explain?

Answers were Sorted based on User's Feedback



if x=round(26.3,10)-1 then x= how much and how explain?..

Answer / ramprakash

ROUND FUNCTION
rounds the first argument to the nearest multiple of the
second argument, or to
the nearest integer when the second argument is omitted.

So the answer for x will be 29...

Is This Answer Correct ?    16 Yes 1 No

if x=round(26.3,10)-1 then x= how much and how explain?..

Answer / radhiv kumar sure

X=ROUND(26.3,10)-1;
AFTER ROUNDING THE VALUE
X=30-1;
X=29;

Is This Answer Correct ?    11 Yes 1 No

if x=round(26.3,10)-1 then x= how much and how explain?..

Answer / samba

Hello Its Me.. u r wrong. the answer is 29.

The ROUND function rounds the first argument to a value that is very close to a multiple of the second argument. The result might not be an exact multiple of the second argument.

Is This Answer Correct ?    2 Yes 0 No

if x=round(26.3,10)-1 then x= how much and how explain?..

Answer / vinod

Thanks for you answer Ramprakash

Is This Answer Correct ?    0 Yes 3 No

if x=round(26.3,10)-1 then x= how much and how explain?..

Answer / its me

The answer is 25 and not 29.
Can any one challenge on this?
It first rounds of the first argument to the nearest value.
The nearest value is 26 and then deducts 1 from that to be
25.

Is This Answer Correct ?    4 Yes 12 No

Post New Answer

More SAS Interview Questions

what is information maps?

0 Answers   CitiGroup,


what is the difference between proc means and proc tabulate?

3 Answers   Cognizant, CTS,


I use NOCUM/NOPERCENT option in the tables statement like this Proc freq data = deepak; tables x y /nocum nopercent; run; Here I get nopercent and nocum in the output only for variables x and y. How do i do it for all variables? Deepak

1 Answers  


In the following DATA step, what is needed for ‘fraction’ to print to the log? data _null_; x=1/3; if x=.3333 then put ‘fraction’; run;

1 Answers  


Which is the best training institute for SAS in hyderabad.

112 Answers   Stansys Software Solutions,


What are the statements that are executed only?

0 Answers  


which date function advances a date, time or datetime value by a given interval? : Sas programming

0 Answers  


What is instream data in SAS?

1 Answers  


If reading a variable length file with fixed input, how would you prevent SAS from reading the next record if the last variable didn’t have a value?

3 Answers   Accenture,


How do you debug macros?

3 Answers   Accenture,


how to assign a macro value to a variable?

8 Answers   CitiGroup,


what is the difference between calculating the 'mean' using the mean function and proc means? : Sas programming

0 Answers  


Categories