Skip to Content
/
Login Get started
Menu
  • Documentation
  • Tutorials
  • Changelog
Getting Started
  • Start building sites
  • Templating language
  • IntelliSense
Courier
  • Getting started
  • Installation
  • Commands
  • Configuration
  • Upgrade guide
Canvas
  • Introduction
  • Tags
  • Filters
    • abs
    • batch
    • capitalize
    • column
    • convert_encoding
    • date
    • date_modify
    • default
    • escape
    • filter
    • first
    • format
    • group_by
    • join
    • json_encode
    • keys
    • last
    • length
    • lower
    • map
    • merge
    • nl2br
    • number_format
    • raw
    • reading_time
    • reduce
    • replace
    • reverse
    • round
    • slice
    • slug
    • sort
    • spaceless
    • split
    • striptags
    • title
    • trim
    • upper
    • url_encode
    • Deprecated filters
  • Functions
  • Tests
  • Variables
Site API
  • Introduction

abs

The abs filter returns the absolute value.

{# number = -5 #}
{{ number | abs }}
{# outputs 5 #}

© 2021 Blutui. All rights reserved.

Contact Us Terms of Service Privacy Policy