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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How sas treats the dsd delimiters?

1266


What are the new features included in the new version of SAS Programming Language?

1251


What are the uses of sas?

1361


Briefly explain input and put function?

1140


How can I remove header from output data set?

2666


why is a stop statement needed for the point=option on a set statement? : Sas programming

1135


What would be the value of month at the end of data step execution and how many observations would be there?

1234


what is hierarchy flattening? : Sas-di

1136


What versions of SAS have you used (on which platforms)?

1571


What commands are used in the case of including or excluding any specific variables in the data set?

1148


How substr function works in sas?

1272


What are the data types in sas?

1116


what is intially documentation in sas?

5129


What do you code to create a macro? : sas-macro

1193


how does sas handle missing values in a merge? : Sas programming

1103