expected score -> expected win rate

This commit is contained in:
Songyi Huang 2021-04-25 23:17:13 -07:00
parent f76b84af7a
commit 9da0633270
1 changed files with 3 additions and 1 deletions

View File

@ -595,7 +595,9 @@ function PvEDoudizhuDemoView() {
</div>
{predictionRes.prediction.length > idx ? (
<div className={'non-card'} style={{ marginTop: '0px' }}>
<span>{`Expected Score: ${predictionRes.prediction[idx][1]}`}</span>
<span>{`Expected Win Rate: ${(Number(predictionRes.prediction[idx][1]) * 100).toFixed(
2,
)}%`}</span>
</div>
) : (
''