# C1.Report.Field.Format

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Report_Field_Format_" data-uid="C1.Report.Field.Format*">Format Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Report_Field_Format_" data-uid="C1.Report.Field.Format*"></a>
<h4 id="C1_Report_Field_Format" data-uid="C1.Report.Field.Format">Format</h4>
<div class="markdown level1 summary"><p>Gets or sets a string used to format the field value.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[C1Category(&quot;Appearance&quot;)]
[C1Description(&quot;Field.Format&quot;, &quot;Specifies a string used to format the field value.&quot;)]
public string Format { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">&lt;C1Category(&quot;Appearance&quot;)&gt;
&lt;C1Description(&quot;Field.Format&quot;, &quot;Specifies a string used to format the field value.&quot;)&gt;
Public Property Format As String</code></pre>
</div>
<h5 id="C1_Report_Field_Format_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>You can use the <a class="xref" href="C1.Report.Field.Format.html#C1_Report_Field_Format">Format</a> property to customize the way numbers, dates, times, 
and text are displayed and printed.</p>
<p>For example, if you've created a <b>Price</b> field, you can set its <a class="xref" href="C1.Report.Field.Format.html#C1_Report_Field_Format">Format</a> 
property to "Currency". If the field value is set to "4321.678", it would be rendered as $4,321.68.</p>
<p>You can use the <a class="xref" href="C1.Report.Field.Format.html#C1_Report_Field_Format">Format</a> property to format numbers (including currency and percentage 
values), dates, boolean values, and strings.</p>
<p>The syntax for the format string is the same used with the .NET <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string.format#system-string-format(system-string-system-object)">Format(string, object)</a> method.</p>
</div>
</div>
