ActiveReports 8 > ActiveReports User Guide > Concepts > Section Report Concepts > Date, Time, and Number Formatting |
In Section Reports, you can set formatting strings for date, time, currency, and other numeric values using the OutputFormat property on the TextBox control. The OutputFormat dialog also allows you to select international currency values and select from various built-in string expressions. In addition to the built-in string expressions, you may use any .NET standard formatting strings. You can find information about these strings (Numerics and Date/Time formats) on MSDN.
Note: The ReportInfo control has many preformatted options in the FormatString property for RunDateTime and Page Numbers. For more information, see Display Page Numbers and Report Dates. |
Caution:
|
The OutputFormat property allows four sections delimited by a semicolon. Each section contains the format specifications for a different type of number:
For example: $#,#00.00; ($#,#00.00_); $0.00; #
Note: Underscore (_) keycode can be used in OutputFormat property to skip the width of the next character. This code is commonly used as _) to leave space for a closing parenthesis in a positive number format when the negative number format includes parentheses. This allows both positive and negative values to line up at the decimal point. |