How do you add a number to a macro variable?

Answer Posted / ganesh

If it is an integer we can use %eval ..
If it has decimal values then %sysevalf..

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

please can you tell me that in companies sas work are doing by through sas coding or sas wizard ??

1658


Give some ways by which you can define the variables to produce the summary report (using proc report)?

589


What is a method to debug and test your SAS program?

706


What are the applications primarily used by business analyst? : Sas-bi

546


how are numeric and character missing values represented internally? : Sas programming

610






why a stop statement is needed for the point= option on a set statement?

617


How might you use MOD and INT on numeric to mimic SUBSTR on character Strings?

737


Can you execute a macro within a macro? Describe. : sas-macro

663


How to limit decimal places for variable using proc means?

582


what is snowflake schema? : Sas-di

683


Name and describe few sas character functions that are used for data cleaning in brief.

658


How to convert a numeric variable to a character variable?

624


what is the Population you used in your project, is it ITT or PP?

2171


How can you limit the variables written to output dataset in data step?

739


how sas deals with business intelligence? : Sas-bi

576