Fields

Fields

Hi all,

Is it possible to have 3 fields:

Price:
Discount:
Total: (Price - discount)

If yes how do i do it? is it with a function?

Thanks!