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
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 |
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 |
What is the difference between input and infile statement?
Do you think professionally?
How to import the Zip files into SAS? If it is possible in SAS? If it is posible write the code...
How is character variable converted into numeric variable and vice versa?
How to Rename Library?
what is Difference between PROC SQL JOINS and MERGE?
I have 50 variables in one data set, In reports i want to generate every 10 variables in one page how we will write code in proc report.
I am looking to buy a sas advance book. So any one can guide me that which one i should buy.
for whom is sas data integration studio designed? : Sas-di
How would you code a macro statement to produce information on the SAS log? This statement can be coded anywhere.
what is null hypothesis? why do you consider that?
0 Answers Accenture, Quintiles,
What are the statements that are executed only?