You can use a "Set" command before the "InputField" command. Example:
if V[xamount]
Set V[xamount] &V[xamount] + 0 groupseparator="." decimalseparator="," decimals=2
endif
InputField (10,10) "Amount" (10,20) size=16 name="xamount"