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