List in $USD

This commit is contained in:
Nutbuster 2023-08-11 12:49:28 +10:00
parent 71dc2fc768
commit 38666d5472
1 changed files with 2 additions and 2 deletions

View File

@ -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: