- Help Center Home
- Company Administration
- Merge Templates (Smarty Tags)
-
General Navigation
-
System Forms
- Budget Amendments
- Budget Items
- Change Orders
- Contract Exhibits
- Contracts
- Cost Proposals
- Directives
- Drawing Packages
- Drawings
- Emails
- Field Reports
- Meetings
- Merge Documents
- Payment Applications
- Potential Change Orders
- Punch List Items
- Request For Information
- Request For Proposal
- Specification Packages
- Specifications
- Submittal Items
- Submittal Packages
-
Company Administration
-
Project Administration
-
Reports & Dashboards
-
Release Notes
Round a number in a Merge Template
For numbers with many decimals, you can round the number using format specifiers.
Round a number
Example: If you have a tag {$projectteam_0001} that related to the number 3.14159265 you can round it using the string_format specifier:
- {$projectteam_0001|string_format:"%.2f"} would be 13.45
- {$projectteam_0001|string_format:"%.0f"} would be 13
also {$projectteam_0001|string_format:"%d"} would be 13 as well
Learn more about the string_format specifier on the Smarty website.