Hi I have problem with retrieving data from Firestore. I don't know how to retrieve data from number field with dot.
For example
Prize : 2.54
I tried this
longPrize = documentSnapshot.getLong("Prize");
but it don't work because it's returns only 2. I have to get 2.54 as result.
How I can do this ? Unfortunately Firebase don't support retrieving data in float form (getFloat() doesn't exist).
 
    