[Command] getSalary
Posted: Mon Nov 01, 2021 10:15 pm
getSalary()
USE:
Get the current salary into a float variable.
TYPE: Command, Non-Ref
RETURNS: Float
THEME: Job, Money
COMPARE: setSalary, convertToLocalCurrency
EXAMPLE
USE:
Get the current salary into a float variable.
TYPE: Command, Non-Ref
RETURNS: Float
THEME: Job, Money
COMPARE: setSalary, convertToLocalCurrency
EXAMPLE
Code: Select all
Salary = getSalary()
Salary *= 1.2
Salary.setRent()
"Yay, my salary was increased by 20%."