Show Number in Custom Format

StarkStark Syria
edited February 2010 in FastReport .NET
Hello have a good day ,,,

how I can add Zero to the left of my number if it's less than 10 ?

01
02
.
.
.
08
09
10
11
12



thank you advance


P.S:
of course I can done it by C# , but it will converted to string ...

Comments

  • edited 10:43PM
    Hello,

    Use "Custom" format type with the following format string: #00.00 (you may skip .00 part if you don't need decimals).

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.