84 lines
4.5 KiB
XML
84 lines
4.5 KiB
XML
<?xml version="1.0"?>
|
|
<doc>
|
|
<assembly>
|
|
<name>ExcelNumberFormat</name>
|
|
</assembly>
|
|
<members>
|
|
<member name="M:ExcelNumberFormat.CompatibleConvert.ToString(System.Object,System.IFormatProvider)">
|
|
<summary>
|
|
A backward-compatible version of <see cref="M:System.Convert.ToString(System.Object,System.IFormatProvider)"/>.
|
|
Starting from .net Core 3.0 the default precision used for formatting floating point number has changed.
|
|
To always format numbers the same way, no matter what version of runtime is used, we specify the precision explicitly.
|
|
</summary>
|
|
</member>
|
|
<member name="M:ExcelNumberFormat.Formatter.FormatThousands(System.String,System.Boolean,System.Boolean,System.Collections.Generic.List{System.String},System.Globalization.CultureInfo,System.Text.StringBuilder)">
|
|
<summary>
|
|
Prints right-aligned, left-padded integer before the decimal separator. With optional most-significant zero.
|
|
</summary>
|
|
</member>
|
|
<member name="M:ExcelNumberFormat.Formatter.FormatDecimals(System.String,System.Collections.Generic.List{System.String},System.Text.StringBuilder)">
|
|
<summary>
|
|
Prints left-aligned, right-padded integer after the decimal separator. Does not print significant zero.
|
|
</summary>
|
|
</member>
|
|
<member name="M:ExcelNumberFormat.Formatter.FormatDenominator(System.String,System.Collections.Generic.List{System.String},System.Text.StringBuilder)">
|
|
<summary>
|
|
Prints left-aligned, left-padded fraction integer denominator.
|
|
Assumes tokens contain only placeholders, valueString has fewer or equal number of digits as tokens.
|
|
</summary>
|
|
</member>
|
|
<member name="M:ExcelNumberFormat.Formatter.GetLeftAlignedValueDigit(System.String,System.String,System.Int32,System.Boolean,System.Int32@)">
|
|
<summary>
|
|
Returns the first digit from valueString. If the token is '?'
|
|
returns the first significant digit from valueString, or '0' if there are no significant digits.
|
|
The out valueIndex parameter contains the offset to the next digit in valueString.
|
|
</summary>
|
|
</member>
|
|
<member name="T:ExcelNumberFormat.NumberFormat">
|
|
<summary>
|
|
Parse ECMA-376 number format strings and format values like Excel and other spreadsheet softwares.
|
|
</summary>
|
|
</member>
|
|
<member name="M:ExcelNumberFormat.NumberFormat.#ctor(System.String)">
|
|
<summary>
|
|
Initializes a new instance of the <see cref="T:ExcelNumberFormat.NumberFormat"/> class.
|
|
</summary>
|
|
<param name="formatString">The number format string.</param>
|
|
</member>
|
|
<member name="P:ExcelNumberFormat.NumberFormat.IsValid">
|
|
<summary>
|
|
Gets a value indicating whether the number format string is valid.
|
|
</summary>
|
|
</member>
|
|
<member name="P:ExcelNumberFormat.NumberFormat.FormatString">
|
|
<summary>
|
|
Gets the number format string.
|
|
</summary>
|
|
</member>
|
|
<member name="P:ExcelNumberFormat.NumberFormat.IsDateTimeFormat">
|
|
<summary>
|
|
Gets a value indicating whether the format represents a DateTime
|
|
</summary>
|
|
</member>
|
|
<member name="P:ExcelNumberFormat.NumberFormat.IsTimeSpanFormat">
|
|
<summary>
|
|
Gets a value indicating whether the format represents a TimeSpan
|
|
</summary>
|
|
</member>
|
|
<member name="M:ExcelNumberFormat.NumberFormat.Format(System.Object,System.Globalization.CultureInfo)">
|
|
<summary>
|
|
Formats a value with this number format in a specified culture.
|
|
</summary>
|
|
<param name="value">The value to format.</param>
|
|
<param name="culture">The culture to use for formatting.</param>
|
|
<returns>The formatted string.</returns>
|
|
</member>
|
|
<member name="M:ExcelNumberFormat.Parser.ParseNumberTokens(System.Collections.Generic.List{System.String},System.Int32,System.Collections.Generic.List{System.String}@,System.Boolean@,System.Collections.Generic.List{System.String}@)">
|
|
<summary>
|
|
Parses as many placeholders and literals needed to format a number with optional decimals.
|
|
Returns number of tokens parsed, or 0 if the tokens didn't form a number.
|
|
</summary>
|
|
</member>
|
|
</members>
|
|
</doc>
|