Declaration
func Floor(value float) int
go
Parameters
Input
| Name | Type | Description |
|---|---|---|
| Value | Float | The value to be rounded down |
Return
| Type | Description |
|---|---|
| Int | The result of rounding down |
Round the specified value down to the nearest integer.
func Floor(value float) int
go
| Name | Type | Description |
|---|---|---|
| Value | Float | The value to be rounded down |
| Type | Description |
|---|---|
| Int | The result of rounding down |