Message-ID: <1994190064.10503.1711726692925.JavaMail.web05$@web05> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_10502_975155703.1711726692925" ------=_Part_10502_975155703.1711726692925 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html NumberFormat.CreateFraction(Int32)

NumberFormat.CreateFraction(Int32)

Descripti= on

=20

Creates a string for displaying fractions.

=20
C#
=20
 public System.String CreateFraction(int numDigits)
=20
=20
vb.net
=20
Public Function CreateFraction(ByVal numDigits As Integer) As String
=20
=20

Parameters

=20
numDigits
The = number of digits to display.=20

Returns

A fracti= on format string.=20

Examples

=20
C#
=20

          //--- Create a style.
          Style styl =3D wb.CreateStyle();

          //--- Create the fraction format "# ???/???".
          styl.NumberFormat =3D wb.NumberFormat.CreateFraction(3);
        
=20
=20
vb.net
=20

          '--- Create a style.
          Dim styl As Style =3D wb.CreateStyle()

          '--- Create the fraction format "# ???/???"
          styl.NumberFormat =3D wb.NumberFormat.CreateFraction(3)
        
=20
------=_Part_10502_975155703.1711726692925--