Specifying DBNum Custom Pattern Formatting

Possible Usage Scenarios

Aspose.Cells for Node.js via C++ supports DBNum custom pattern formatting. For example, if your cell value is 123 and you specify its custom formatting as [DBNum2][$-804]General, it will be displayed as 壹佰贰拾叁. You can specify the custom formatting of a cell using the [Cell.getStyle()] method and the [Style.setCustom(string)] method.

Sample Code

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