Q:

How to convert negative field values to positive?

I have an xyz file that I want to convert negative field values in the z column to positive values. How do I do this with field calculator? 

A:

In QGIS you can use abs("fieldname") to turn them into always positive values.

