// but answer becomes a string (not usable number) number.toFixed(2) // I don't know what parseFloat is - but this was the original answer i received, need to learn why its different than above parseFloat(portfolioValue * props.data.current_price).toFixed(2);