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