Widget Core Function
The equation widget is used for doing engineering calculations. Itโs the primary calculation engine in Calcs.com templates.UI Experience
- Not interactive for the user
- Displays the equation used for the calculation
- Shows the calculated value to the user
Data Organization and Manipulation
Primary widget for:- Mathematical calculations and algebraic expressions
- Conditional statements and checks
- Iterations and matrix/vector manipulation
Watch tutorials:
Equation Structure
Single Equation
Multiple Conditional Equations
Using @ Shortcuts
Simplify equation building by using โ@โ to reference other widgets:Error Handling
ThrowError vs Throw
throwError: Displays a specific message to the userthrow: Shows generic โUnexpected Errorโ message
Special โmembersโ Equation Widget
For exporting data to Member Schedule:Advanced Features
Matrix Operations
Iterations
Unit Conversions
Conditional Logic
Using @default
The@default condition acts as an โelseโ statement:
Best Practices
Common Patterns
Safety Factor Application
Min/Max Selection
Rounding
Examples from Current Calculators
| ReferenceId | Calculator |
|---|---|
s_t- | EU Steel Column |