Mukesh Kumar <(E-Mail Removed)> wrote:
> Please search for CCur in MSDN and select the option Currency(crystal
> syntax). It is not available in the index.
That's a function within Crystal Syntax for formulas - it's not a
method within a .NET type.
> If you have any other
> option to convert from number to currency then please help me.
You can use the "C" standard numeric format specifier, eg
using System;
public class Test
{
static void Main()
{
Console.WriteLine ("{0:C}", 1.5);
}
}
--
Jon Skeet - <(E-Mail Removed)>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too