Integer format: N1 : Integer Format « Data Types « VB.Net

Home
VB.Net
1.2D
2.Application
3.Class
4.Data Structure
5.Data Types
6.Database ADO.net
7.Date Time
8.Development
9.Event
10.File Directory
11.Generics
12.GUI
13.Internationalization I18N
14.Language Basics
15.LINQ
16.Network Remote
17.Reflection
18.Security
19.Thread
20.Windows Presentation Foundation
21.Windows System
22.XML
23.XML LINQ
VB.Net » Data Types » Integer FormatScreenshots 
Integer format: N1
 
Imports System.Globalization        
Module Example
    Sub Main()
        Dim intValue As Integer = 123456789
        Console.WriteLine(intValue.ToString("N1", CultureInfo.InvariantCulture))
        
    End Sub
End Module
        

   
  
Related examples in the same category
1.Integer format: x
2.Integer format: X
3.Integer format: X8
4.Large Integer format: X
5.Hex integer format: X2
6.CultureInfo("en-us") and Integer format: C
7.CultureInfo("en-us") and Integer format: D6
8.CultureInfo("en-us") and Integer format: E03
9.CultureInfo("en-us") and Integer format: F01
10.CultureInfo("en-us") and Integer format: G
11.CultureInfo("en-us") and Integer format: N01
12.CultureInfo("en-us") and Integer format: P02
13.CultureInfo("en-us") and Integer format: X
14.Standard Numeric Format Strings for negative value: D
15.Standard Numeric Format Strings for positive value: D8
16.Standard Numeric Format Strings: F3
17.Display value using default formatting
18.Display value with 3 digits and leading zeros
19.Display value with 1 decimal digit
20.Display value as hexadecimal
21.Display value with eight hexadecimal digits
22.Display Integer Value in Binary Octal and Hex forms
23.Converts Integer to string using the specified culture-specific format information.
24.Converts Integer to string using the specified format.
25.Converts Integer to string using the specified format and culture-specific format information.
26.Converts Integer to string representation.
27.Convert Integer to String: D3, N1, X2, X8
28.Convert Integer to its Binary, Octal, Hex forms
29.Display value using default formatting
30.Display value with 3 digits and leading zeros
31.Display value with 1 decimal digit
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.