forked from Cavemanon/SteamMoneyEstimator
Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
f068b34d81 |
@ -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.formatFloat(ffDecimal, 2)).insertSep(',')).replace(",.", ".") & " (USD)"
|
echo "Price: " & $price
|
||||||
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).formatFloat(ffDecimal, 2)).insertSep(',')).replace(",.", ".") & " (USD)"
|
let estimatedRevenue = (toFloat(estimatedSales)*price)*0.70
|
||||||
echo "Estimated revenue (including steam cut): " & $estimatedRevenue
|
echo "Estimated revenue (including steam cut): " & $estimatedRevenue
|
||||||
|
|
||||||
if save:
|
if save:
|
||||||
@ -90,4 +90,4 @@ Reviews: : $5
|
|||||||
Estimated Sales: $6
|
Estimated Sales: $6
|
||||||
Estimated revenue (including steam cut): $7""" % [os.paramStr(2), $price, yearOfRelease, $multiplier, $reviewCount, $estimatedSales, $estimatedRevenue]
|
Estimated revenue (including steam cut): $7""" % [os.paramStr(2), $price, yearOfRelease, $multiplier, $reviewCount, $estimatedSales, $estimatedRevenue]
|
||||||
|
|
||||||
writeFile(name.innerText, output)
|
writeFile(name.innerText.replace("/"), output)
|
||||||
|
Reference in New Issue
Block a user