ReadFloat
Reads a float or downcasted double from a protobuf message.
native float ReadFloat(const char[] field, int index = -1)
Parameters
const char[] field
Field name.
int index
Index into repeated field.
Return Value
float Float value read.Error
Non-existent field, or incorrect field type.