Appearance
Value Providers and You
A constant value provider can be given in the form of a number.
However usually, a value provider takes the field type to define which kind of value provider to use (and thus what fields to provide), can be one of the following:
constant: A constant number as its singular fieldvalue, equivalent to inlining a number as the value provider.invert: Makes the value provider of its fieldinvertnegative if positive, and positive if negative.function: Performs a mathematical operation from the fieldoperationand its fields, with the following operations:
add,sub,mul,div: Standard mathematical operations, you know what these are. Takes additional value providersleftandright, representing which side of the sign they are on.mod: Returns the remainder of dividingleftbyright. Takes additional value providersleftandright, representing which side of the sign they are on.pow: Returns the result of raisingleftto the power ofright. Takes additional value providersleftandright, representing which side of the sign they are on.sqrt: Returns the square root ofoperand. Takes value provideroperand.sin,asin,cos,acos,tan,atan: Returns the result of running their respective trigonometric onoperand. Takes value provideroperand.min: Returns the smaller betweenleftandright. Takes additional value providersleftandright, representing which side of the sign they are on.max: Returns the larger betweenleftandright. Takes additional value providersleftandright, representing which side of the sign they are on.round,floor,ceil: Returns the result of the rounding operation onoperand. Takes value provideroperand.
variable: Stand-in for the variable present in context, optionally takes invaras a variable name, defaulting to"input"if not present.
