Merge branch 'master' of http://khuhub.khu.ac.kr/2018103692/find_mbti_bot
Showing
1 changed file
with
2 additions
and
2 deletions
... | @@ -902,7 +902,7 @@ apiRouter.post('/detail', (req, res) => { | ... | @@ -902,7 +902,7 @@ apiRouter.post('/detail', (req, res) => { |
902 | var J=0; | 902 | var J=0; |
903 | 903 | ||
904 | for(let j=0;j<4;j++){ | 904 | for(let j=0;j<4;j++){ |
905 | - for(let i=0; i<3; i++){ | 905 | + for(let i=0; i<5; i++){ |
906 | if(j==0){ | 906 | if(j==0){ |
907 | if(userDB[userId][j][i]=="E"){ | 907 | if(userDB[userId][j][i]=="E"){ |
908 | E++; | 908 | E++; |
... | @@ -944,7 +944,7 @@ apiRouter.post('/detail', (req, res) => { | ... | @@ -944,7 +944,7 @@ apiRouter.post('/detail', (req, res) => { |
944 | outputs: [ | 944 | outputs: [ |
945 | { | 945 | { |
946 | simpleText: { | 946 | simpleText: { |
947 | - text: "E와 I의 비율\nE : "+(E/(E+I)*100)+"%\nI : "+(I/(E+I)*100)+"\nN와 S의 비율\nN : "+(N/(N+S)*100)+"%\nS : "+(S/(N+S)*100)+"\nF와 T의 비율\nF : "+(F/(F+T)*100)+"%\nT : "+(T/(F+T)*100)+"\nJ와 P의 비율\nJ : "+(J/(J+P)*100)+"%\nP : "+(P/(J+P)*100) | 947 | + text: "E와 I의 비율\nE : "+(E/(E+I)*100.0)+"%\nI : "+(I/(E+I)*100.0)+"%\nN와 S의 비율\nN : "+(N/(N+S)*100.0)+"%\nS : "+(S/(N+S)*100.0)+"%\nF와 T의 비율\nF : "+(F/(F+T)*100.0)+"%\nT : "+(T/(F+T)*100.0)+"%\nJ와 P의 비율\nJ : "+(J/(J+P)*100.0)+"%\nP : "+(P/(J+P)*100.0)+"%" |
948 | } | 948 | } |
949 | } | 949 | } |
950 | ] | 950 | ] | ... | ... |
-
Please register or login to post a comment