Question from a developer:
Is there any way to use floating point values instead of decimal in statistics/leaderboards?
Question from a developer:
Is there any way to use floating point values instead of decimal in statistics/leaderboards?
The PlayFab leaderboards are specifically Int32 values, for a variety of reasons, with consistency (float/double values are imprecise) and performance/cost being the primary concerns (and they're 32 bit in order to be compatible with languages which don't support 64 bit).
The best way to manage this would be to use a calculation to "shift" your floating point value into an Int32, and then re-compute the floating point value on the client when you want to display the information to the user.
1 Person is following this question.