# GrapeCity.Documents.Word.Fields.FieldFormatOptions.NumberFormat

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Word_Fields_FieldFormatOptions_NumberFormat_" data-uid="GrapeCity.Documents.Word.Fields.FieldFormatOptions.NumberFormat*">NumberFormat Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Word_Fields_FieldFormatOptions_NumberFormat_" data-uid="GrapeCity.Documents.Word.Fields.FieldFormatOptions.NumberFormat*"></a>
<h4 id="GrapeCity_Documents_Word_Fields_FieldFormatOptions_NumberFormat" data-uid="GrapeCity.Documents.Word.Fields.FieldFormatOptions.NumberFormat">NumberFormat</h4>
<div class="markdown level1 summary"><p>Gets or sets the number format.</p>
<ul><li><span class="term">0</span>Specifies the requisite numeric positions to display in the result. If the result does not include a digit in that position, 0 is displayed.</li><li><span class="term">#</span>Specifies the requisite numeric positions to display in the result. If the result does not include a digit in that position, a space is displayed.</li><li><span class="term">x</span>Drops digits to the left of the x placeholder. If the placeholder is to the right of the decimal point, the result is rounded to that place.</li><li><span class="term">.</span>Indicates the radix-point position.</li><li><span class="term">,</span>Separates groups of three digits.</li><li><span class="term">-</span>Prepends a minus sign to a negative result, or prepends a space if the result is positive or 0.</li><li><span class="term">+</span>Prepends a plus sign to a positive result, a minus sign to a negative result, or a space if the result is 0.</li><li><span class="term">Other character</span>Includes the specified character in the result at that position.</li><li><span class="term">'text'</span>Includes text in the result.</li><li><span class="term">`numbered-item`</span>Includes, in Arabic numerals, the number of the preceding item numbered as a caption or resulting from a SEQ field. Numbered-item shall be the same name as identifier in that SEQ field.</li><li><span class="term">positive-result ; negative-result</span>Specifies different sets of picture items for positive and negative results. A zero value uses the positive picture.</li><li><span class="term">positive-result ; negative-result ; zero-result</span>Specifies different sets of picture items for positive, negative, and zero results.</li></ul>
<p>The default value is <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public string NumberFormat { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property NumberFormat As String</code></pre>
</div>
</div>
