don't round the score in percentages

This commit is contained in:
Dawid Wysokiński 2021-04-11 18:55:03 +02:00
parent 7d0e083140
commit 7dc40a170a
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ const SummaryTab = ({
style={styles.mb}
/>
<H1 style={[styles.textAlignCenter]}>
Twój wynik: {Math.ceil((correctAnswers / total) * 100)}%
Twój wynik: {(correctAnswers / total) * 100}%
</H1>
<H3 style={[styles.textAlignCenter, styles.mb]}>
Poprawnie odpowiedziałeś na {correctAnswers}{' '}