mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-18 17:06:52 -05:00
18 lines
335 B
Markdown
18 lines
335 B
Markdown
|
---
|
||
|
title: math.Floor
|
||
|
description: Returns the greatest integer value less than or equal to the given number.
|
||
|
categories: []
|
||
|
keywords: []
|
||
|
action:
|
||
|
aliases: []
|
||
|
related:
|
||
|
- functions/math/Ceil
|
||
|
- functions/math/Round
|
||
|
returnType: float64
|
||
|
signatures: [math.Floor VALUE]
|
||
|
---
|
||
|
|
||
|
```go-html-template
|
||
|
{{ math.Floor 1.9 }} → 1
|
||
|
```
|