C# Console WriteLine(Double)
Description
Console WriteLine(Double)
writes the text representation
of the specified double-precision floating-point value, followed by the
current line terminator, to the standard output stream.
Syntax
Console.WriteLine(Double)
has the following syntax.
[HostProtectionAttribute(SecurityAction.LinkDemand, UI = true)]
public static void WriteLine(
double value
)
Parameters
Console.WriteLine(Double)
has the following parameters.
value
- The value to write.
Returns
Console.WriteLine(Double)
method returns
Example
using System;/*from w w w .ja v a2 s .c o m*/
public class Example
{
public static void Main()
{
Console.WriteLine((Double)123);
}
}