Value property

NumberField.Value — Number

Represents the value of a number field.

If no formula is associated with this property, the number field is an input field that users use to enter and edit values. If a formula is associated with this property, the number field is an output field that displays a calculated value derived through the formula.

Referencing number field values from formulas

When referencing a number field value from a formula, there is no need to write .Value,Value after the field name if a number is sought. These formulas are equivalent:

2 + NumberField12 + NumberField1
2 + NumberField1.Value2 + NumberField1,Value

Above, + is looking to add two numbers together. As NumberField1NumberField1 can return a number through its Value property, .Value,Value is implied.

Examples

NumberField1 + 2NumberField1 + 2

Returns the sum of the value of NumberField1 and 2.

NumberField1.Value + 2NumberField1,Value + 2

Returns the sum of the value of NumberField1 and 2. Writing out the Value property in formulas (by writing NumberField1.ValueNumberField1,Value) is rarely necessary.