Declaration
func Negate(value Number) Number
go
Parameters
Input
Name | Type | Description |
---|---|---|
Value | Number | The value that needs to calculate negative value |
Return
Type | Description |
---|---|
Number | The result of calculating negative value |
Calculate negative values
func Negate(value Number) Number
go
Name | Type | Description |
---|---|---|
Value | Number | The value that needs to calculate negative value |
Type | Description |
---|---|
Number | The result of calculating negative value |