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

NumberFormat.CreatePercentage(Int32)

Descrip= tion

=20

Creates a string for displaying percentages.

=20
C#
=20
 public System.String CreatePercentage(int numDecimalPlaces)
=20
=20
vb.net
=20
Public Function CreatePercentage(ByVal numDecimalPlaces As Integer) As Stri=
ng
=20
=20

Parameters

= =20
numDecimal= Places
The number of decimal places to display.=20

Returns

A form= at string for percentages.=20

Examples

=20
C#
=20

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

          //--- Create the percentage format "0.000%".
          styl.NumberFormat =3D wb.NumberFormat.CreatePercentage(3);
        
=20
=20
vb.net
=20

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

          '--- Create the percentage format "0.000%".
          styl.NumberFormat =3D wb.NumberFormat.CreatePercentage(3)
        
=20
------=_Part_9900_1692915745.1711706246528--