This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ==== AdjustField ==== Adjust the value of a field. === Description === <code>AdjustField( fieldno, Float:value )</code> 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. === Parameters === | ''fieldno'' | Which field to adjust | | ''value'' | Value to add | === Return value === The float value of the field after being adjusted. === Example usage === <code javascript> AdjustField(4, 0.1); // adds 0.1 to the value of field 4 </code> <wrap hi>NOTE: First appeared in firmware 20091601</wrap> ezeio2/scriptref/adjustfield.txt Last modified: 2020-09-16 23:23by andreh Log In