BookmarkSubscribeRSS Feed
avinesh
Fluorite | Level 6

Hello All,

I am facing a trouble to get Indian Comma Format in SAS.

Any suggestion to get that.

9 REPLIES 9
Reeza
Super User

What does that look like? Have you tried a picture format?

Pallav
Calcite | Level 5

Tried doing picture format on numeric values which  displays value like 11,11,11,111.00  . But Picture format will convert  numeric values in categories in VA.

viveklanka
Fluorite | Level 6

Hey Reeza,

Have you any solution for this., the format looks like 11,11,11,111.00

RW9
Diamond | Level 26 RW9
Diamond | Level 26

You can use picture formats:

proc format;

  picture indianc

  low-high='99,99,99.99';

run;

data test;

  a=121212.0;

  format a indianc.;

run;

balraj
Quartz | Level 8

Hi RW9,

 

I'm trying to implement User-Defined Formats in SAS VA. Please refer to my post.

https://communities.sas.com/t5/SAS-Visual-Analytics/Implementing-User-Defined-formats/m-p/267214/hig...

Need your guidance.

 

Kind Regards,

Balraj.P

 

viveklanka
Fluorite | Level 6

You can use the comma format directly.

format variable comma12.2;

Pallav
Calcite | Level 5

Dear Viveklanka

Inbuilt comma format give you output like 111,111,111.00, while Indian currency comma format is like 11,11,11,111.00   .

Thanks

avinesh
Fluorite | Level 6

Hi all,

Any solution or any suggestions please for this

ChrisNZ
Tourmaline | Level 20

You've been given a solution. Read again.

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 9 replies
  • 3044 views
  • 1 like
  • 7 in conversation