Registry / utility / sec51-convert

sec51-convert

JSON →
library1.0.2gogounverified

A Go package for rounding floating-point numbers to the nearest integer.

go get github.com/sec51/convert
INSTALL
IMPORT
SIG · SEC51-CONVERT
S
sec51-convert
utilitygov1.0.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

convert
github.com/sec51/convert

Rounds a float to the nearest integer using the convert package.

package main import ( "fmt" "github.com/sec51/convert" ) func main() { result := convert.RoundToNearestInt(3.7) fmt.Println(result) // 4 }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.2latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
sec51-convert — go get sec51-convert · libregistry