What Does 10.e6 Mean in FORTRAN?

In summary, the conversation discusses converting a FORTRAN program to C# and clarifies the meaning of an assignment statement in the program. The speaker also asks for tips on converting the program to modern languages such as C#, JAVA, or C/C++.
  • #1
khdani
55
0
Hello,
I've a program in FORTRAN which I need to convert to C#,
there's an assignment statement like this:
Code:
FC=10.e6

What exactly does it mean? Is it 10*10^6? or 10.000000?
Do you have some tips to convert the FORTRAN program to any
modern language (C#, JAVA, C/C++) ?

Thank You
 
Technology news on Phys.org
  • #2
10.x106
 
  • #3
khdani said:
Hello,
I've a program in FORTRAN which I need to convert to C#,
there's an assignment statement like this:
Code:
FC=10.e6

What exactly does it mean? Is it 10*10^6? or 10.000000?
Do you have some tips to convert the FORTRAN program to any
modern language (C#, JAVA, C/C++) ?

Fortran is a modern language. Latest definition is F2008.
 

What is Fortran Scientific Notation?

Fortran Scientific Notation is a way of representing very large or very small numbers in a concise and standardized format. It is commonly used in scientific computing and engineering applications.

How is Fortran Scientific Notation written?

Fortran Scientific Notation is written in the form of a mantissa and an exponent, separated by the letter "E". For example, 2.5E-3 represents the number 0.0025.

What is the purpose of using Fortran Scientific Notation?

The purpose of using Fortran Scientific Notation is to simplify the representation of very large or very small numbers and make them easier to work with in scientific calculations.

Can Fortran Scientific Notation be used for non-numeric values?

No, Fortran Scientific Notation is only used for representing numeric values. It cannot be used for non-numeric values such as strings or characters.

Are there any limitations to Fortran Scientific Notation?

Yes, Fortran Scientific Notation has limitations in terms of the range of numbers it can represent and the precision of the numbers. It is important to choose the appropriate format for the specific scientific calculation being performed.

Similar threads

  • Programming and Computer Science
Replies
17
Views
4K
  • Programming and Computer Science
Replies
9
Views
2K
  • Programming and Computer Science
Replies
8
Views
875
  • Programming and Computer Science
Replies
13
Views
4K
  • Programming and Computer Science
Replies
11
Views
14K
  • Programming and Computer Science
Replies
1
Views
5K
  • Programming and Computer Science
Replies
6
Views
2K
  • Programming and Computer Science
Replies
4
Views
3K
  • Programming and Computer Science
Replies
1
Views
2K
Back
Top