Page 1 of 1

[Command] getSalary

Posted: Mon Nov 01, 2021 10:15 pm
by Raddeck
getSalary()


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%."