Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
38666d5472 |
@ -69,13 +69,13 @@ if onSale:
|
|||||||
price = element.innerText.replace("$").parseFloat
|
price = element.innerText.replace("$").parseFloat
|
||||||
break
|
break
|
||||||
echo "Link: " & os.paramStr(2)
|
echo "Link: " & os.paramStr(2)
|
||||||
echo "Price: " & $price
|
echo "Price: $" & ((price.formatFloat(ffDecimal, 2)).insertSep(',')).replace(",.", ".") & " (USD)"
|
||||||
echo "Year of Release: " & yearOfRelease
|
echo "Year of Release: " & yearOfRelease
|
||||||
echo "Year Multiplier (from VG Insights): " & $multiplier
|
echo "Year Multiplier (from VG Insights): " & $multiplier
|
||||||
echo "Reviews: " & $reviewCount
|
echo "Reviews: " & $reviewCount
|
||||||
let estimatedSales = multiplier*reviewCount
|
let estimatedSales = multiplier*reviewCount
|
||||||
echo "Estimated Sales: " & $estimatedSales
|
echo "Estimated Sales: " & $estimatedSales
|
||||||
let estimatedRevenue = (toFloat(estimatedSales)*price)*0.70
|
let estimatedRevenue = "$" & (((toFloat(estimatedSales)*price*0.70).formatFloat(ffDecimal, 2)).insertSep(',')).replace(",.", ".") & " (USD)"
|
||||||
echo "Estimated revenue (including steam cut): " & $estimatedRevenue
|
echo "Estimated revenue (including steam cut): " & $estimatedRevenue
|
||||||
|
|
||||||
if save:
|
if save:
|
||||||
|
Reference in New Issue
Block a user