Anyone know how to get Engineering Notation in a cell in a datagridview similar to how excel displays with a ##0.0E+0 custom format?
myDGV.Columns(0).DefaultCellStyle.Format = "E3"
I got to here, but don't find anything to work: https://learn.microsoft.com/en-us/dotnet/standard/base-types/custom-numeric-format-strings
I've tried every combination of E, 3, and ### I can think of.
Engineering notation examples:
0.1 => 100e-3 or 100m (not 1e-1)
1,000 => 1e3 or 1k
10,000 => 10e3 or 10k (not 1e4)
i.e. the powers of 10 always follow multiples of three (https://en.wikipedia.org/wiki/Engineering_notation)