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 |
if you were told to create many records from one record, show how you would do this using array and with proc transpose? : Sas programming
explain what is factor analysis? : Sas-administrator
what is the difference between compiler and interpreter? give any one example (software product) that act as a interpreter?
36 Answers Accenture, College School Exams Tests, CTS, IBM, IHRD, Infosys, Sylhet Engineering College, TCS, Wipro,
How to merge the data using merge statement and proc format? Is the result is same ?
How do you read in the variables that you need?
What is the pound sign used for the DATA _NULL_?
how does sas handle missing values in an update? : Sas programming
who is the best SAS clinical Trainer in Hyderabad?
Best trainer in hyderabad for sas banking.if any one have details pls provide contact details.
If you set a label in the data step and call a proc freq on the data, how do you display the data without the labels and just the variables.
what are input dataset and output dataset options? : Sas programming
what are several options for creating reports in web report studio? : Sas-bi