don't round the score in percentages
This commit is contained in:
parent
7d0e083140
commit
7dc40a170a
|
@ -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}{' '}
|
||||
|
|
Reference in New Issue