I hope this helps:
#Use 'number' for numeric input. Also 'float' can be used.
data = [(u'A','number', 0),(u'B','number', 0),(u'C','number', 0)]
flags = appuifw.FFormEditModeOnly
f = appuifw.Form(data, flags)
#A is changed to 8
#B is changed to 2
#C is changed to 35
#Form is submitted
#Now the new values of the form are stored in f in the same
#format as they were originaly defined.
#So access the values like this:
A=f # The type 'number' returns a long type int.
#now you can play with those values how you want ;)
#Then just make a new form with the values of the previous form :)