Java.IO.DataOutputStream.WriteFloat Method
Writes the specified 32-bit float in big-endian order.

Syntax

[Android.Runtime.Register("writeFloat", "(F)V", "")]
public void WriteFloat (float val)

Parameters

val
the float to write.

Exceptions

TypeReason
Java.IO.IOException

Remarks

Writes the specified 32-bit float in big-endian order. The resulting output is the four bytes returned by Java.Lang.Float.FloatToIntBits(float).

[Android Documentation]

Requirements

Namespace: Java.IO
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1