我正在使用Ionic 3制作我的应用“ QuickLife”。
被推到排行榜的一件事是用户赚了多少钱,即使我向Google Services投入了5000万美元,出现的最大数目也是21,474,836.47 $
googlePlaySubmitScore(data) {
let age = data.age;
// net Worth is money that is pushed, it is multiplied by 100 and Google will use that last two characters for decimal point
let netWorth = data.netWorth * 100;
let followers = data.numOfSocialFans;
this.googlePlayGamesServices.isSignedIn()
.then(() => {
this.googlePlayGamesServices.submitScore({
score: netWorth,
leaderboardId: ID
});
this.googlePlayGamesServices.submitScore({
score: age,
leaderboardId: ID
});
this.googlePlayGamesServices.submitScore({
score: followers,
leaderboardId: ID
});
});
}
答案 0 :(得分:3)
这是一个有符号整数(2 ^ 31-1)的最大值。
https://dev.mysql.com/doc/refman/8.0/en/integer-types.html