Help using Base SAS procedures

Convert a number expressed in scientific notation to a normal notation

Reply
Frequent Contributor
Posts: 127

Convert a number expressed in scientific notation to a normal notation

Dear all,

I'd like to know if this is possible to easily convert a numeric value which is expressed in a scientific notation (read from a CSV file) to the normal integer notation (bestXX. format would be great).

An example of value I'd like to convert is: 7.4999925E12.

It would be great if the conversion process could detect the exponential value (12 in my example).

I already checked on the internet but I only found a way to do it in the opposite way (from bestXX. format to a scientific format).

Thanks in advance for your help.

Kind regards,
Florent

P.S: small precision - we are still using the version 8 of SAS...
Super Contributor
Posts: 359

Re: Convert a number expressed in scientific notation to a normal notation

Ew.d informat
Ask a Question
Discussion stats
  • 1 reply
  • 647 views
  • 0 likes
  • 2 in conversation