Top "Scientific-notation" questions

Scientific notation is a way of writing numbers.

Display a decimal in scientific notation

How can I display this: Decimal('40800000000.00000000000000') as '4.08E+10'? I've tried this: >>> '%E' % …

python string-formatting number-formatting scientific-notation
How to disable scientific notation?

I have a dataframe with a column of p-values and I want to make a selection on these p-values. > …

r formatting scientific-notation
Force R not to use exponential notation (e.g. e+10)?

Can I force R to use regular numbers instead of using the e+10-like notation? I have: 1.810032e+09 # and 4 within …

r number-formatting options scientific-notation defaults
what is this value means 1.845E-07 in excel?

I am reading the excel sheet from C# by using interop services. My sheet has one of cell value as 0.00. …

excel scientific-notation
Format / Suppress Scientific Notation from Python Pandas Aggregation Results

How can one modify the format for the output from a groupby operation in pandas that produces scientific notation for …

python pandas floating-point scientific-notation number-formatting
Suppress Scientific Notation in Numpy When Creating Array From Nested List

I have a nested Python list that looks like the following: my_list = [[3.74, 5162, 13683628846.64, 12783387559.86, 1.81], [9.55, 116, 189688622.37, 260332262.0, 1.97], [2.2, 768, 6004865.13, 5759960.98, 1.21], [3.74, 4062, 3263822121.39, 3066869087.9, 1.93], [1.91, 474, 44555062.72, 44555062.72, 0.41], [5.8, 5006, 8254968918.1, 7446788272.74, 3.25], [4.5, 7887, 30078971595.46, 27814989471.31, 2.18], [7.03, 116, 66252511.46, 81109291.0, 1.56], [6.52, 116, 47674230.76, 57686991.0, 1.43], [1.85, 623, 3002631.96, 2899484.08, 0.64], [13.76, 1227, 1737874137.5, 1446511574.32, 4.32], [13.76, 1227, 1737874137.5, 1446511574.32, 4.32]] I then import Numpy, and set print …

python numpy number-formatting scientific-notation
How to make C++ cout not use scientific notation

double x = 1500; for(int k = 0; k<10 ; k++){ double t = 0; for(int i=0; i<12; i++){ t += x * 0.0675; x += x * 0.0675; } …

c++ double cout ostream scientific-notation
Format double value in scientific notation

I have a double number like 223.45654543434 and I need to show it like 0.223x10e+2. How can I do this …

java formatting scientific-notation
How to express numbers in scientific notation in java?

I'm writing a program that deals with planets' mass and diameter; These quantities are expressed in scientific notation. My question …

java numbers notation scientific-notation
Forcing R output to be scientific notation with at most two decimals

I would like to have consistent output for a particular R script. In this case, I would like all numeric …

r decimal scientific-notation