• Advertisement
Sign in to follow this  

Converting with Scientific Notation?

This topic is 4343 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hey, everyone. I am writing a program for a friend that is currently in college. He is taking a Physics course, and he asked me to write a program that can convert a lot of units to/from one another. But, the problem is, some of the conversions involve scientific notation. I was wondering how I could convert to sci. not. using C#. I use VS .NET 2003 Pro. Thanks in advance, Matt U.

Share this post


Link to post
Share on other sites
Advertisement
Scientific notation? Sorry but I do not understand your problem. Can you give me an example?
In my calculator I just write " 1._bar ► _dyne/_cm^2 " and I get " 1.e6 dyne/cm^2 " isn't that enough?


[attention] Do you mean something like this:?
Console.WriteLine("{0:E}",.016);
output : 1.600000E-002

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement