Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ionic-framework/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ionic framework 谷歌游戏服务-排行榜最高得分21474836.47$_Ionic Framework_Ionic3_Google Play Services_Leaderboard - Fatal编程技术网

Ionic framework 谷歌游戏服务-排行榜最高得分21474836.47$

Ionic framework 谷歌游戏服务-排行榜最高得分21474836.47$,ionic-framework,ionic3,google-play-services,leaderboard,Ionic Framework,Ionic3,Google Play Services,Leaderboard,我正在使用离子3制作我的应用程序QuickLife 被推上排行榜的一个因素是用户挣钱的多少,即使我把5000万美元推到谷歌服务上,出现的最大数字也是21474836.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 character

我正在使用离子3制作我的应用程序QuickLife

被推上排行榜的一个因素是用户挣钱的多少,即使我把5000万美元推到谷歌服务上,出现的最大数字也是21474836.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
            });
        });
}

这是有符号整数(2^31-1)的最大值。
这是有符号整数(2^31-1)的最大值。