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

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

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.

Get the $99 certification deal.jpg

 

 

Back in the Classroom!

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

View all other training opportunities.

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