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
what do the sas log messages "numeric values have been converted to character" mean? : Sas programming
What is the use of stop statement?
Explain the purpose of retain statement.
What is PROC in SAS?
what is sas enterprise intelligence architecture? : Sas-bi
how to remove duplicates using proc sql?
what is factor analysis? : Sas-administrator
what are the new features included in the new version of sas i.e., Sas 9.1.3? : Sas programming
What is the basic structure of the SAS base program?
what is the primary data source for the wrs? : Sas-bi
What is your favorite all time computer book? Why?
Do you need to compute new variables? If so,should you do this before you execute the report-writing procedure?
What is the basic syntax style in SAS?
describe how to adjust the performance of data integrator? : Sas-di
How can you limit the variables written to output dataset in data step?