numberutils

package
v2.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 17, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LargestRemainder

func LargestRemainder(percentages []Percentage, places int32)

LargestRemainder https://en.wikipedia.org/wiki/Largest_remainder_method

Types

type Percentage

type Percentage struct {
	Value            int
	Percent          float64
	PercentFormatted string
	Data             interface{}
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL