DelphiBasics
  Home  |  Delphi .net Home  |  System.Globalization NameSpace
 .NET Framework
 Namespace References

 System
 System.Collections
 System.Globalization
 
  Calendar  Class 
  CalendarWeekRule  Enumeration 
  CultureInfo  Class 
  CultureTypes  Enumeration 
  DateTimeFormatInfo  Class 
  DateTimeStyles  Enumeration 
  NumberFormatInfo  Class 
  NumberStyles  Enumeration 
  RegionInfo  Class 
  StringInfo  Class 
  TextElementEnumerator  Class 
  TextInfo  Class 
 System.Drawing - download only
 System.IO

 Articles and Tutorials

 Overview of .NET
 Delphi and .NET
 Winform Applications
 ASP .Net Applications
 ASP Web Services
 Framework Collections
 Framework String Handling
 Framework Files and Folders

 Author links

 Buy Website Traffic at
 Buywebsitetrafficexperts.com

 Buy Proxies at
 Buyproxies.io
 

 
 
  System.Globalization.NumberStyles Enumeration
 
 Description
Calling writeTextBlock The .Net number structures, such as System.Double provide a Parse method to convert a number represented as a string into the appropriate numeric value.
 
The NumerStyles enumeration is used in these Parse methods to control this conversion process. After writeTextBlock
 Values
AllowLeadingWhite  1  Leading white space characters aer ignored
AllowTrailingWhite  2  Trailing white space characters aer ignored
AllowLeadingSign  4  Leading - or + sign is allowed
AllowTrailingSign  8  Trailing - or + sign is allowed (as defined by NumberFormatInfo)
AllowParentheses  16  Allow the number to be enclosed by brackets
AllowDecimalPoint  32  Allow the number to contain a decmal point (as defined by NumberFormatInfo)
AllowThousands  64  Allow thousands separators (as defined by NumberFormatInfo)
AllowExponent  128  Allow scientific exponent format
AllowCurrencySymbol  256  The string is parsed as a currency value if it contains a currency symbol (as defined by NumberFormatInfo)
AllowHexSpecifier  512  The number is treated as a hexadecimal number. It must not be prefixed by 0x
Number  111  Combination used for general number parsing
Any  511  All but the hexadecimal style
HexNumber  515  As Number, but for hexadecimal numbers

 Delphi Basics links
 
System.Decimal.Parse
System.Double.Parse
System.Single.Parse
System.Int16.Parse
System.Int32.Parse
System.Int64.Parse
System.UInt16.Parse
System.UInt32.Parse
System.UInt64.Parse

 Microsoft MSDN links
 
System.Globalization
System.Globalization.NumberStyles
 
Delphi Programming Neil Moffatt 2002 - 2016. All rights reserved.  |  Home Page