Write Method (Single)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Writes the text representation of a 4-byte floating-point value to the text string or stream.

Namespace:  System.IO
Assembly:  System.IO (in System.IO.dll)

public virtual void Write(
	float value
)

Parameters

value
Type: System..::..Single
The 4-byte floating-point value to write.

The text representation of the specified value is produced by calling the Single..::..ToString method. The TextWriter.FormatProvider property, if not nullNothingnullptrunita null reference (Nothing in Visual Basic), specifies the culture-specific formatting.

Show: