Search the Community
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
53 results
Sorted by:
09-09-2021
09:00 PM
Neither of the following codes filters the rows properly. The discount column was initially formatted as a percentage, I changed it to Comma32.28 to see all decimals but there is nothing but zeros in...
11-25-2024
04:42 AM
Hi all,
can you please explain to me why the values are the same but it still ran into Else? Thanks.
MPRINT(QUARTAL_AUSGABE): if 1772782309933.86 = 1604202898189.95 + 168579411743.91 then do;...
03-08-2016
11:00 PM
Hi all,
I'm testing a simple program by merging two datasets in SAS Studio. Here is my code:
data one(drop=i);
do i=1 to 100;
x=log10(i);
output;
end;
run;
data two;
...
11-18-2020
08:52 AM
I have an odd exprience when rounding a number. One number is rounded down and the other up: data rounding;
d1=round(201578736.46500, .01);
d2=round(276578736.46500, .01);
run;
proc pri...
11-18-2019
05:48 PM
01-08-2019
12:45 PM
I have an integer numeric value xxxxxxxxxxxxxxx4 (16 digits) that needs to have the last digit recoded to a 3. SAS will not do this in a data step - it leaves the original value. However, when I s...
- Tags:
- precision
02-15-2022
11:21 AM
Hi, I had two data sets and encountered an issue that the value in a data set extracted from Snowflake are slightly different to the original value stored in SAS data set. See the example: &nb...
07-05-2023
09:04 PM
I am trying to create 3 groups with the code down below but SAS is only including numbers under the first group (<1). Why is this happening? DATA WORK.IMPORT1; SET WORK.IMPORT; /* Calcu...
11-30-2018
10:02 AM
I have a field contains time like this 1/1/1970 6:53:58.000000 PM, how to convert to 18:53:58? Thanks.
07-19-2022
10:18 AM
Hi everyone 🙂 I need your help to solve the following issue: I need to classify the _ascvd_S variable into 4 categories (described below). But the following code does not work for ...