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 |
What are the special input delimiters used in SAS?
Why do we use QUIT commmand for proc datasets and proc sql ???
If you?re not wanting any SAS output from a data step, how would you code the data statement to prevent SAS from producing a set?
How the date 04oct1994 is stored in SAS,not only give the answer explain in brief?
What is the difference between Proc tabulate and Proc print
how to handle in stream data containing semicolon in it?
what is p-value
3 Answers Accenture, Quintiles, Sristek,
what does .. meant in sas macros
What is instream data in SAS?
Do you need to know if there are any missing values?
There are 200 observations in a dataset, i want to pull out the observation no's 100, 150,180,190 by using Proc SQL? How you can get it?
Mention how to limit decimal places for the variable using proc means?