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...


How did you use the round function?give an example(don't
say it will round to the nearest intger) eg1:round(84.55,.1)
=84.6 eg2:round(92.64,.1)=92.6,How it is happening like
this tell me the logic,that is how the round function works
when we have deimal values?

Answers were Sorted based on User's Feedback



How did you use the round function?give an example(don't say it will round to the nearest int..

Answer / unknown

round fuction works such that the first argument in the
fuction is to the nearest multiple of the second argument

Is This Answer Correct ?    10 Yes 0 No

How did you use the round function?give an example(don't say it will round to the nearest int..

Answer / learner

Round function rounds to nearest point according to given
significant limit.

EX1 round(84.55 , .1) in this case the significant limit
given by you is .1. so it will round upto one decimal value
(aa.a). Since the value is .55 it returns .6 . then the
output is 84.6(84+.5+.1)

Ex2 round(92.64, .1) the value that is need to be rounded
is .04 and less than half of significant value it returns
0. so total valu is 92+.6+.0=92.6

I hope it will help you

Is This Answer Correct ?    14 Yes 6 No

Post New Answer

More SAS Interview Questions

Do you need to know if there are any missing values?

0 Answers  


How would you invoke a macro? : sas-macro

0 Answers  


1.What is the difference between _NULL_ , _ALL_, and _N_? 2.What are the uses of _NULL_ using in Data Steps? Can we _NULL_ in Proc Steps also? 3.How do call the macro variable in Data Steps? 4.How to construct Pivot tables in Excel Using SAS?

3 Answers  


How do you put a giraffe into the refrigerator?

3 Answers   Oracle,


Hi, I have one dataset like id date ex: id date 1 13 1 13Oct2011 2 14 2 14Oct2011 3 15 3 15Oct2011 --->this is the current date here i want date format like 13Oct2011,14Oct2011 how we can modify the numeric to date format plz answer.

4 Answers  


What is difference between sas rename and lable?

4 Answers  


SAS System ?

5 Answers  


If you have a dataset that contains 100 variables, but you need only five of those, what is the code to force SAS to use only those variables?

0 Answers  


how to assign a macro value to a variable?

8 Answers   CitiGroup,


how the sas basic syntax style described? : Sas-administrator

0 Answers  


what is the main difference between rename and label? (don't say that they both perform the same function).

11 Answers   Parexel,


How can you create a macro variable with in data step? : sas-macro

0 Answers  


Categories