Specifying DBNum Custom Pattern Formatting

Possible Usage Scenarios

Aspose.Cells for Python via .NET supports the DBNum custom pattern formatting. For example, if your cell value is 123 and you specify its custom formatting as [DBNum2][$-804]General, then it will be displayed as 壹佰贰拾叁. You can specify the cell’s custom formatting using the Cell.get_style() method and the Style.custom property.

Sample Code

The following sample code illustrates how to specify DBNum custom pattern formatting. Please check its output PDF for more help.