![](../icons/Hazelcast-IMDG-Logo-Orange_Dark_200px.jpg) | IPortableWriterWriteFloat Method |
Writes a primitive float.
Namespace:
Hazelcast.IO.Serialization
Assembly:
Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.9.4
Syntaxvoid WriteFloat(
string fieldName,
float value
)
Sub WriteFloat (
fieldName As String,
value As Single
)
void WriteFloat(
String^ fieldName,
float value
)
abstract WriteFloat :
fieldName : string *
value : float32 -> unit
Parameters
- fieldName
- Type: SystemString
name of the field - value
- Type: SystemSingle
int value to be written
Exceptions
RemarksWrites a primitive float.
See Also