mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-26 00:35:15 +00:00
add rounding
This commit is contained in:
parent
d4ef9e4b6d
commit
a09e97d75c
|
@ -63,7 +63,7 @@ export default function TotalAssetsDetails({assets}) {
|
|||
</ListItemAvatar>
|
||||
)
|
||||
}
|
||||
<ListItemText dense primary={`${a.currency} ${a.total}`} secondary={`USD =~ ${a.inUSD}`}/>
|
||||
<ListItemText dense primary={`${a.currency} ${a.total}`} secondary={`=~ ${Math.round(a.inUSD)} USD`}/>
|
||||
</ListItem>
|
||||
)
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue
Block a user