getFloat

public float getFloat(String key)(source)

Retrieves the value of the given key from the json file and converts it to a float.

Return

the value of the given key from the json file converted to a float.

Parameters

key

the key of the value.