class Liquid::Filters::Floor

Overview

floor

floors a string or float value and returns the value floor'd

Input {{ "1.34" | floor }}

Output 1.0

Extended Modules

Defined in:

liquid/filters/floor.cr

Class Method Summary

Class Method Detail

def self.filter(data : Any, args : Array(Any) | Nil = nil) : Any #

[View source]