Message-ID: <596274371.9817.1711703881536.JavaMail.web05$@web05> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_9816_396260074.1711703881536" ------=_Part_9816_396260074.1711703881536 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Creates an accounting format string.
=20public System.String CreateAccounting(int numDecimalPlaces, boolean useDol= larSign, Color negativeColor)=20
Public Function CreateAccounting(ByVal numDecimalPlaces As Integer, ByVal u= seDollarSign As Boolean, ByVal negativeColor As Color) As String=20
true
, the dollar sign will be displayed.=20
negativeColor
may be null.=20
//--- Create a style. Style styl =3D wb.CreateStyle(); //--- The following creates the format //--- "_($* #,##0.00_);[Green]_($* #,##0.00_);_(* \"-\&= quot;_);_(@_)" styl.NumberFormat =3D wb.NumberFormat.CreateAccounting(2, true, NumberFormat.Color.Green);=20
'--- Create a style. Dim styl As Style =3D wb.CreateStyle() '--- The following creates the format '--- "_($* #,##0.00_);[Green]_($* #,##0.00_);_(* \"-\&q= uot;_);_(@_)" styl.NumberFormat =3D wb.NumberFormat.CreateAccounting(2, _ True, _ NumberFormat.Color.Green)=20