forked from Cavemanon/SteamMoneyEstimator
List in $USD
This commit is contained in:
parent
71dc2fc768
commit
38666d5472
|
@ -69,13 +69,13 @@ if onSale:
|
|||
price = element.innerText.replace("$").parseFloat
|
||||
break
|
||||
echo "Link: " & os.paramStr(2)
|
||||
echo "Price: " & $price
|
||||
echo "Price: $" & ((price.formatFloat(ffDecimal, 2)).insertSep(',')).replace(",.", ".") & " (USD)"
|
||||
echo "Year of Release: " & yearOfRelease
|
||||
echo "Year Multiplier (from VG Insights): " & $multiplier
|
||||
echo "Reviews: " & $reviewCount
|
||||
let estimatedSales = multiplier*reviewCount
|
||||
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
|
||||
|
||||
if save:
|
||||
|
|
Loading…
Reference in New Issue