mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-14 20:37:55 -05:00
17 lines
335 B
Markdown
17 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
|
|
```
|