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 |
here is a string like chq.2312244%4452- from that i want only special characters in a column. dont use compress. bcoz i have 1.2 billion of records.i want another process to find the values instant from the data.
firstobs and obs are working only option wise,but we are using infile statement with firstobs and obs in a statement wise? so firstobs,obs working at options and statemnts or not?
is it possible to generate sas datasets using proc print ???
1 Answers GSK GlaxoSmithKline,
What are the default statistics for means procedure?
do you need to know if there are any missing values? : Sas programming
how to rearrange the data as our wish by using dataset block?
what are the methods that you would employ to fine tune your SQL extract process using SAS/Access or Proc SQL?
What r all the reporting procedures...?
Why Info School? BUILD YOUR CAREER WITH RIGHT GUIDANCE AND SUPPORT SAS Training in Data Management at InfoSchool Bangalore
what are methods to identify duplicate observations?
What is the one statement to set the criteria of data that can be coded in any step?
Differences between where and if statement?