Declaración
func Round(value float) int
go
Parámetros
Entrada
Nombre | Tipo | Descripción |
---|---|---|
Value | Float | The value to be rounded |
Regresar
Tipo | Descripción |
---|---|
Int | Rounding result |
Round the specified value to the nearest integer.
func Round(value float) int
go
Nombre | Tipo | Descripción |
---|---|---|
Value | Float | The value to be rounded |
Tipo | Descripción |
---|---|
Int | Rounding result |