Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
liquid
v0.6.1
Liquid
Any
AnyHash
BinOperator
Block
AbstractExpression
Assign
BeginBlock
BlockType
Boolean
Capture
Comment
Decrement
Else
ElsIf
EndBlock
Expression
Filtered
For
If
PutInto
Include
Increment
InlineBlock
Node
Raw
RawBlock
RawHiddenBlock
Root
BlockRegister
BoolOperator
BoolProc
CodeGenVisitor
Context
FilterArgumentException
Filters
Abs
Append
ArgTest
CamelCase
Capitalize
Ceil
Compact
Date
Default
DividedBy
Downcase
Escape
EscapeOnce
Filter
FilterRegister
First
Floor
Join
Last
LStrip
Map
Minus
Modulo
NewLineToBr
Pluralize
Plus
Prepend
Remove
RemoveFirst
Replace
ReplaceFirst
Reverse
Round
RStrip
Size
Split
Strip
StripHtml
StripNewLines
StrSlice
Underscore
UpCase
InvalidExpression
InvalidNode
InvalidStatement
LiquidException
Parser
RenderVisitor
Template
Visitor
Built with Crystal 1.9.2
2023-10-07 22:07:42 UTC
class
Liquid::Filters::Round
Liquid::Filters::Round
Reference
Object
Extended Modules
Liquid::Filters::Filter
Defined in:
liquid/filters/round.cr
Class Method Summary
.filter
(data : Any, args : Array(Any) | Nil =
nil
) : Any
.round_to
(num, round_to)
Class Method Detail
def self.
filter
(data :
Any
, args : Array(
Any
) | Nil =
nil
) :
Any
#
[
View source
]
def self.
round_to
(num, round_to)
#
[
View source
]