getAsFloatWithDefault method

double getAsFloatWithDefault (
  1. int index,
  2. double defaultValue
)

Converts array element into a float or returns default value if conversion is not possible.

  • index an index of element to get.
  • defaultValue the default value Returns float value ot the element or default value if conversion is not supported.

See FloatConverter.toFloatWithDefault