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 |
This entry was posted in General. Bookmark the permalink. Post a comment or leave
Are you familiar with special input delimiters How are they used?
how to change the execute of macro
what is information maps?
What is SAS informats?
how do i get last 10obs from a dataset when we don't know about the number of obsevations in that dataset?
Code the MEANS to produce output to be used later.
describe the interaction table in sas di? : Sas-di
What's the difference between VAR A1 - A4 and VAR A1 - A4?
How would you compile all macros from a folder in a study, within the autoexec program?
What are the difference between ceil and floor functions in sas?
What is Tabulate.?Why we use it.? Which type of output we get from Tabulate.?