Populate a field with the sum of two fields while content creation I have a content type named "ABC". Which has three fields 


field_half(widget type list(text)), 
field_full(widget type list(text)), 
field_total(widget type float).


During content creation I want the field_total to be populated with the sum of two fields field_half and field_full.

E.g.

`field_total` = `field_half` + `field_full`


How can I do this.
Sounds liks a job for Computed Field


  Computed Field is a very powerful CCK field module that lets you add a
  custom "computed fields" to your content types. These computed fields
  are populated with values that you define via PHP code. You may draw
  on anything available to Drupal, including other fields, the current
  user, database tables, you name it. 


You should just be able to set the field value literally as in your example (i.e. field = fieldA + fieldB)