Adjust the value of a field.


AdjustField( fieldno, Float:value )

Adds the given value to the field value.

This command performs the addition with double (64-bit) math. It may be useful for accumulating values that can grow very large, in which case this command can be used to maintain precision.


fieldno Which field to adjust
value Value to add

Return value

The float value of the field after being adjusted.

Example usage

   AdjustField(4, 0.1);
   // adds 0.1 to the value of field 4

NOTE: First appeared in firmware 20091601

  • ezeio2/scriptref/adjustfield.txt
  • Last modified: 2020-09-16 23:23
  • by andreh