Excerpt |
---|
Creates a scientific number format string. |
Signature |
---|
C# | C# | Wiki Markup |
---|
{description}
{excerpt}Creates a scientific number format string.{excerpt}
{signature:C#}
public System.String CreateScientific(int numDecimalPlaces)
|
Signature |
---|
{signature}{signature:vb.net | vb.net | }
Public Function CreateScientific(ByVal numDecimalPlaces As Integer) As String
|
...
The number of decimal places to display.
Returns |
---|
A scientific number format string. |
Example |
---|
Code Block |
---|
| csharp | csharp |
title | C# |
---|
{signature}
{parameters}
{param:numDecimalPlaces}The number of decimal places to display.{param}
{returns}A scientific number format string.{returns}
{example}{code:csharp|title=C#}
//--- Create a style.
Style styl = wb.CreateStyle();
//--- Create the scientific format "0.000E+00".
styl.NumberFormat = wb.NumberFormat.CreateScientific(3);
Code Block |
---|
{code}
{code:vb.net
vb.net | title | |title=vb.net
}
'--- Create a style.
Dim styl As Style = wb.CreateStyle()
'--- Create the scientific format "0.000E+00".
styl.NumberFormat = wb.NumberFormat.CreateScientific(3)
{code}
{example}