[Command] getRent
Posted: Mon Nov 01, 2021 10:12 pm
getRent()
USE:
Get the current rent into a float variable.
TYPE: Command, Non-Ref
RETURNS: Float
THEME: Housing, Money
COMPARE: setRent, convertToLocalCurrency
EXAMPLE
USE:
Get the current rent into a float variable.
TYPE: Command, Non-Ref
RETURNS: Float
THEME: Housing, Money
COMPARE: setRent, convertToLocalCurrency
EXAMPLE
Code: Select all
Rent = getRent()
Rent *= 1.2
Rent.setRent()
"Damn, the rent was increased by 20%."