Format Money - CSharp System

CSharp examples for System:Double

Description

Format Money

Demo Code


using System.Web;
using System.Linq;
using System.Collections.Generic;
using System;//from   w ww  .ja  v a 2 s .  c o m

public class Main{
        public static object FormatMoney(double money)
        {
            return String.Format("{0:C}", money);
        }
}

Related Tutorials