if x=round(26.3,10)-1 then x= how much and how explain?
Answers were Sorted based on User's Feedback
Answer / ramprakash
ROUND FUNCTION
rounds the first argument to the nearest multiple of the
second argument, or to
the nearest integer when the second argument is omitted.
So the answer for x will be 29...
| Is This Answer Correct ? | 16 Yes | 1 No |
Answer / radhiv kumar sure
X=ROUND(26.3,10)-1;
AFTER ROUNDING THE VALUE
X=30-1;
X=29;
| Is This Answer Correct ? | 11 Yes | 1 No |
Answer / samba
Hello Its Me.. u r wrong. the answer is 29.
The ROUND function rounds the first argument to a value that is very close to a multiple of the second argument. The result might not be an exact multiple of the second argument.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / its me
The answer is 25 and not 29.
Can any one challenge on this?
It first rounds of the first argument to the nearest value.
The nearest value is 26 and then deducts 1 from that to be
25.
| Is This Answer Correct ? | 4 Yes | 12 No |
Hi im new to sas. I have a file with some charecter variables and some numeric variables now i want to load charecter variables into one datastep and numeric variables into another data step pls let me know Thanks
Mention some common errors that are usually committed in sas programming.
What is by-group processing?
1.How many ways are there to create variables? 2.What is CLM,how can we use it? 3.what are the advontages of data step? 4.what is the extension of editor window in SAS 9.1.3? 5.How do you copy a particular data set from one library to another? 6.what is the use of double option? 7.Advontages of Proc Report? 8.what is the basic use of where statement? 9.How do you terminate the statments in SAS Programming? 10.What is the difference between symput and symget? 11.How would a identify the local and global variable? can any one answer for the 4'th question
How do you specify the number of iterations and specific condition within a single do loop?
What do the PUT and INPUT functions do?
How will you generate test data with no input data?
Hi, I have one dataset like id date ex: id date 1 13 1 13Oct2011 2 14 2 14Oct2011 3 15 3 15Oct2011 --->this is the current date here i want date format like 13Oct2011,14Oct2011 how we can modify the numeric to date format plz answer.
In a shcool there are 1000 students. After completion of every test in 6 subjects , each subject teacher submit the marks of every student at different times and loaded in the database commonly. How will you seperate the top two subject marks for each each studet using SAS?
Hi , which book should i refer to for preaparing SAS statistical Exam. Searched a lot on books but still did n't find relevant books
In which case u go for libname and in which case u go for proc sql pass thru facilit diff?
Are you familiar with special input delimiters? How are they used?