Registry / utility / dariubs-percent

dariubs-percent

JSON →
library1.0.0gogounverified

Package percent provides utilities for calculating percentages.

go get github.com/dariubs/percent
INSTALL
IMPORT
SIG · DARIUBS-PERCENT
D
dariubs-percent
utilitygov1.0.0
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.

percent
github.com/dariubs/percent

Calculate 20% of 100.

package main import ( "fmt" "github.com/dariubs/percent" ) func main() { result := percent.PercentOf(20, 100) fmt.Println(result) // 20 }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Amazon
1
Resources
dariubs-percent — go get dariubs-percent · libregistry