the "this.getField()" function is used to acquire a field object. The field object has the value as well as all the other properties of the field.
Here's an article that dicusses some of the details of calculations. Be sure to check out the sample file
Here's a web page with lots of info about performing calculations