15 lines
269 B
Text
15 lines
269 B
Text
|
|
getRent()
|
||
|
|
|
||
|
|
USE:
|
||
|
|
Get the current rent into a float variable.
|
||
|
|
|
||
|
|
TYPE: Command, Non-Ref
|
||
|
|
RETURNS: Float
|
||
|
|
THEME: Housing, Money
|
||
|
|
COMPARE: setRent, convertToLocalCurrency
|
||
|
|
|
||
|
|
EXAMPLE
|
||
|
|
Rent = getRent()
|
||
|
|
Rent *= 1.2
|
||
|
|
Rent.setRent()
|
||
|
|
"Damn, the rent was increased by 20%."
|