See this documentation page:
void submitScore (GoogleApiClient apiClient, String leaderboardId, long score)
score
has to be a of type long
, but:
The meaning of the score value depends on the formatting of the
leaderboard established in the developer console. Leaderboards support
the following score formats:
- Fixed-point: score represents a raw value, and will be formatted based
on the number of decimal places configured. A score of 1000 would be
formatted as 1000, 100.0, or 10.00 for 0, 1, or 2 decimal places.
- Time: score represents an elapsed time in milliseconds. The value will
be formatted as an appropriate time value.
- Currency: score represents
a value in micro units. For example, in USD, a score of 100 would
display as $0.0001, while a score of 1000000 would display as $1.00
So you probably want to head over to the developer console
and set your desired configuration.