[Command] calculateRevenue

Post Reply
User avatar
Raddeck
LP Manager
Reactions: 1
Posts: 508
Joined: Sat Oct 16, 2021 6:22 pm
Location: LpWorld
Contact:

Post by Raddeck »

calculateRevenue()


USE:
Calculate the revenue for the current building.


TYPE: Command, Ref
RETURNS: FloatVar
THEME: Business
COMPARE: calculateRent, calculateWages, calculateExpenses


EXAMPLE:

Code: Select all

    Revenue = calculateRevenue()
    RevenueC = Revenue.convertToLocalCurrency(true)
    "Estimated gross revenue for this month is <RevenueC>."
Like my work? Buy me a coffee or support me on Patreon to keep it coming. :ugeek:
-Don't PM me for support-
Top
Post Reply