fix price decimals

This commit is contained in:
Arnaud Vergnet 2021-05-11 08:57:23 +02:00
parent 92eedda98b
commit 115534f1c6

View file

@ -244,7 +244,9 @@ function ProximoListScreen(props: Props) {
> >
{`${item.quantity} ${i18n.t('screens.proximo.inStock')}`} {`${item.quantity} ${i18n.t('screens.proximo.inStock')}`}
</Subheading> </Subheading>
<Subheading style={styles.modalTitle}>{item.price}</Subheading> <Subheading style={styles.modalTitle}>
{item.price.toFixed(2)}
</Subheading>
</View> </View>
<ScrollView> <ScrollView>