
04-12-2007, 01:50 AM
|
|
Graal Administration
|
Join Date: Jan 2000
Location: Admins
Posts: 11,693
|
|
|
Sometimes it is better to use more script lines when it improves the readibility of the script. So it would be better to write moneyValue = int(moneyValue); in the next line instead of adding some hacky way of manipulating it directly in the function header. In some programming languages you can define conditions for the input variables, although it is probably more easy to write those checks at the beginnig of the function. |
|
|
|