using System;
class LtoD {
public static void Main() {
long L;
double D;
L = 100123285L; // D=100123285L ;L=D illegal
D = L;
Console.WriteLine("L and D: " + L + " " + D);
}
}
Friday, September 5, 2008
C# program to convert from long to double
Posted by Nanya at 6:57 AM
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment