Free cookie consent management tool by TermsFeed Policy Generator

source: tags/3.3.3/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/Netron.Diagramming.Core-3.0.2672.12446/ToolBox.Formatting/TextFormat.cs @ 5447

Last change on this file since 5447 was 4068, checked in by swagner, 14 years ago

Sorted usings and removed unused usings in entire solution (#1094)

File size: 3.0 KB
Line 
1using System;
2
3namespace ToolBox.Formatting {
4  [Serializable()]
5  public enum TextFormat {
6    // ------------------------------------------------------------------
7    /// <summary>
8    /// No formatting is applied.
9    /// </summary>
10    // ------------------------------------------------------------------
11    String,
12
13    // ------------------------------------------------------------------
14    /// <summary>
15    /// Culturally aware currency format.
16    /// </summary>
17    // ------------------------------------------------------------------
18    Currency,
19
20    // ------------------------------------------------------------------
21    /// <summary>
22    /// Only supports integral numbers. Displays a string using decimal
23    /// digits preceded by a minus sign if negative.
24    /// </summary>
25    // ------------------------------------------------------------------
26    Decimal,
27
28    // ------------------------------------------------------------------
29    /// <summary>
30    /// Displays numbers in the form ±d.ddddddE±dd where d is a decimal
31    /// digit.
32    /// </summary>
33    // ------------------------------------------------------------------
34    ScientificNotation,
35
36    // ------------------------------------------------------------------
37    /// <summary>
38    /// Displays a series of decimal digits with a decimal point and
39    /// additional digits.
40    /// </summary>
41    // ------------------------------------------------------------------
42    FixedPoint,
43
44    // ------------------------------------------------------------------
45    /// <summary>
46    /// Displays either as a fixed-point or scientific notation based
47    /// on the size of the number.
48    /// </summary>
49    // ------------------------------------------------------------------
50    General,
51
52    // ------------------------------------------------------------------
53    /// <summary>
54    /// Similar to fixed point but uses a separator character (such as ,)
55    /// for groups of digits.
56    /// </summary>
57    // ------------------------------------------------------------------
58    Number,
59
60    // ------------------------------------------------------------------
61    /// <summary>
62    /// Multiplies the number by 100 and displays with a percent symbol.
63    /// </summary>
64    // ------------------------------------------------------------------
65    Percentage,
66
67    // ------------------------------------------------------------------
68    /// <summary>
69    /// Formats a floating-point number so that it can be successfully
70    /// converted back to its original value.
71    /// </summary>
72    // ------------------------------------------------------------------
73    RoundTrip,
74
75    // ------------------------------------------------------------------
76    /// <summary>
77    /// Displays an integral number using the base-16 number system.
78    /// </summary>
79    // ------------------------------------------------------------------
80    Hexadecimal
81  }
82}
Note: See TracBrowser for help on using the repository browser.