times
Multiply a number by another number, calculating the resulting arithmetic product.
Syntax
{{ number | times: factor }}Example
{% assign rate = 45 %}{{ rate | times: 4 }} TotalOutput
180 TotalThe times filter multiplies the input number by the supplied argument, supporting both integer and floating point multiplication operations for dynamic arithmetic calculations.
In programmatic SEO directories, times computes package pricing, bundled subscription estimates, or multi-month cost savings directly in templates. For example: ${{ row.hourly_rate | times: 8 }} full-day service estimate. Calculating totals dynamically allows templates to provide concrete financial figures without requiring redundant spreadsheet columns.
Filters
- abs
- append
- at_least
- at_most
- capitalize
- ceil
- compact
- concat
- date
- default
- divided_by
- downcase
- escape
- escape_once
- first
- floor
- join
- last
- lstrip
- map
- minus
- modulo
- newline_to_br
- plus
- prepend
- remove
- remove_first
- replace
- replace_first
- reverse
- round
- rstrip
- size
- slice
- sort
- sort_natural
- split
- strip
- strip_html
- strip_newlines
- times
- truncate
- truncatewords
- uniq
- upcase
- url_decode
- url_encode
- where
- raw
- slugify
- number_format
