Convert a number to a currency (US Dollar) format - Visual Basic .NET

Tags: VB.NET, VB 2008, VB 2010, VB 2012, VB 2013

This example describe how to convert a number to US currency format in Visual Basic .NET

convert a number to us dollar in visual basic .net

Private Sub ConvertButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ConvertButton.Click
        TextBox2.Text = FormatCurrency(TextBox1.Text, , , TriState.True, TriState.True)
     End Sub


Share This

Home | About | Contact | Privacy Policy

Copyright visual-basic-tutorials.com 2017 - All Rights Reserved.