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 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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