DATA Step, Macro, Functions and more

Unable to find informat

Accepted Solution Solved
Reply
Occasional Contributor
Posts: 14
Accepted Solution

Unable to find informat

Hi,

I have one requirement where I need to write 100 as 0.100 . Is there any informat present to achieve this? Or I need to convert this by mathematical Operation only?

Thanks

Accepted Solutions
Solution
4 weeks ago
Super User
Posts: 22,844

Re: Unable to find informat


@SASInd wrote:
Hi,

I have one requirement where I need to write 100 as 0.100 . Is there any informat present to achieve this? Or I need to convert this by mathematical Operation only?

Thanks

INFORMATS are used to read in data, are you trying to modify how you import the data?

 

FORMATS are used to control how data is presented.

View solution in original post


All Replies
Super User
Super User
Posts: 9,211

Re: Unable to find informat

Seeing as that is a numerical operation of dividing by a thousand, it makes sense to write it as such.  Formats are there to display data differently, not replace maths.

Solution
4 weeks ago
Super User
Posts: 22,844

Re: Unable to find informat


@SASInd wrote:
Hi,

I have one requirement where I need to write 100 as 0.100 . Is there any informat present to achieve this? Or I need to convert this by mathematical Operation only?

Thanks

INFORMATS are used to read in data, are you trying to modify how you import the data?

 

FORMATS are used to control how data is presented.

Occasional Contributor
Posts: 14

Re: Unable to find informat

Yes, I need to modify the input 100 to .100 I think I need to perform mathematical Operation only as I did previously.
☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 3 replies
  • 91 views
  • 1 like
  • 3 in conversation