Questions tagged [scientific-notation]

Scientific notation is a way of writing numbers. In scientific notation, all numbers are written in the form of a*10^b. In computing "E notation" is often used. It uses "E" or "e" letter instead of "*10^".

Scientific notation is a way of writing numbers that are too big or too small to be conveniently written in decimal form. Scientific notation has a number of useful properties and is commonly used in calculators and by scientists, mathematicians and engineers.

In scientific notation all numbers are written in the form of a*10^b, where a(mantissa) is a real number and b(exponent) is an integer.

There are different subtypes of this notation. E notation is often used in computing. It uses E or e letter instead of *10^. Note: in this usage the character e is not related to the mathematical constant e or the exponential function e^x

Some examples:

Standard deciaml | Normalized scientific | E (upper) | e (lower)
-----------------+-----------------------+-----------+----------
              30 |                3x10^1 |       3E1 |       3e1         
         1,538.1 |           1.5381x10^3 |  1.5381E3 |  1.5381e3         
     0.000 005 2 |           5.2x10^(-6) |    5.2E-6 |    5.2e-6         
            -0.2 |            -2x10^(-1) |     -2E-1 |     -2e-1         
683 questions
0
votes
1 answer

Removing the decimal point in numbers in z-axis in MATHEMATICA?

I am plotting a 3d plot in MATHEMATICA using plot3d . On the z-axis, I am getting numbers like 2.*10^5. How to get rid of this decimal point just after 2? Below is the part of the code, I think I need to change something there, but I don't know how…
0
votes
1 answer

How to create a double from a coefficient and a power of 10 in C/C++?

What is a good way to create a double from a coefficient and a power of 10? Or in other words, what is a good way to create a double from the significand and the exponent of a written scientific notation value at runtime?
sFuller
  • 1,305
  • 2
  • 14
  • 23
0
votes
2 answers

SQL When is Scientific Notation Used?

I'm using a mail job and proc to send mails to the users. It turned out that I didn't make the control for the scientific notations and they complained about it. Now, I changed the code but I can't test it. It's not all the numbers which are…
Zafer Sernikli
  • 163
  • 3
  • 18
0
votes
2 answers

SQL Server 2008 - Alter column to Varchar from Float produces Scientific Notation

I am having to change one of the columns in table which currently is Float to Varchar, but when I use alter command, it stores some of the longer numbers in Scientific Notation. Can I avoid this? If not, is there a way to easily update the table…
devSuper
  • 295
  • 1
  • 4
  • 18
0
votes
2 answers

Finding the scientific notation (E+XX)

I am trying to find the scientific notation with double and i could not find any function or way to do this. My variable is double and I need to get the scientific notation from it, for example: 3.44828e+026 I need to somehow get the number 026…
Naor Hadar
  • 537
  • 1
  • 6
  • 19
0
votes
1 answer

Scientific notation with three significant figures

Is there a way to use scientific notation in objective c and have it display three significant digits only? What I am current using is: string = [NSString stringWithFormat:@"%e", floatNumber]; // floatNumber = 100000; string = 1.000000e+06 I just…
Amendale
  • 317
  • 3
  • 19
0
votes
1 answer

Stop HighCharts tooltip y-value conversion on 'area range with line' chart

I have a dataset I'm trying to graph using HighCharts and the "area range with line" chart; every value in the dataset is uniformly reported in scientific E notation (ex. 1.342E8). When using a standard line graph or bar graph in HighCharts,…
0
votes
1 answer

PHP Scientific Notation Shortening

I'm looking for an elegant solution here (if one exists). I've got a bunch of numbers, with an arbitrary amount of decimal places. I want to force the number to use 8 decimal places if it's got more than 8 trailing zeroes i.e. 0.000000004321 That…
andro1d
  • 568
  • 2
  • 11
  • 20
0
votes
1 answer

Scientific Notation returned using getItemValueDouble

I have a SSJS function with the below lines of code that keeps returning the value of the field 'day' in scientific notation. I have tried using BigDecimal in addition to the below with no difference. All the other questions on SO and other blogs…
Dwain Wuerfel
  • 373
  • 1
  • 11
0
votes
3 answers

Math results in scientific float and cannot calculate with it anymore

I am trying to make an xslt that can convert a position (vector3) via a quaternion to a new position. I have made the following set-up, but I am retrieving NaN's for very small values close to 0. How can I calculate further with the values that come…
Marnix
  • 6,384
  • 4
  • 43
  • 78
0
votes
2 answers

Reading values from file into array causes segmentation fault, C

I have multiple data files with two columns of numbers in scientific format as shown below: -6.000000E-2 0.000000E+0 1.060000E+0 0.000000E+0 2.510000E+0 0.000000E+0 2.700000E+0 5.000000E-2 2.735000E+0 5.000000E-2 2.755000E+0…
Khadija
  • 145
  • 1
  • 1
  • 5
0
votes
2 answers

Scientific notation XAML

I'm using scientific notation in XAML. I do: The problem is that for 1710000 is showing: 1.710000e+006, which is correct but I would like to see 1.71e+6. How is this specified in…
nachovall
  • 485
  • 1
  • 5
  • 18
0
votes
1 answer

How to go through data files with integers and scientific noation using regex?

The data files which I have look like: Title 10000XX 1.09876543e+02 There are many lines in this form with the column 1 values ranging from 1000000-2000099 and with column 2 values ranging from -9000 to 9000 including some values with negative…
user1431534
  • 13
  • 1
  • 1
  • 5
-1
votes
1 answer

Scientific notation in c

How can I print the output as 123.4e+04 by increasing the number of digits before the comma instead of 1.234e+06 when using scientific notation in c I tried the %*.*e representations, as shown below, but it didn't work. It shows any result as a…
-1
votes
2 answers

Problem with Python Scientific Notation Suppress

To make things short, I have scientific notation 4.534524725984957e+16 and I am trying to get the suppression.. The correct number here is 45345247259849570...but python keeps returning wrong numbers like 45345247259849568...any ideas?