Skip to content

Instantly share code, notes, and snippets.

@SajjadArifGul
Created October 8, 2015 17:59
Show Gist options
  • Save SajjadArifGul/fa5e126474323934e83b to your computer and use it in GitHub Desktop.
Save SajjadArifGul/fa5e126474323934e83b to your computer and use it in GitHub Desktop.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace howto_number_to_words
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void btnGo_Click(object sender, EventArgs e)
{
double num = double.Parse(txtNumber.Text);
txtResult.Text = num.ToWords();
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment