algorithms

package
v0.0.0-...-2d224b7 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2019 License: MIT Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoubleAlternate

func DoubleAlternate(b m.BankAccount, data m.SortCodeData, sum int) (remainder int)

Perform the double alternate algorithm and return the remainder of the operation

func Modulus

func Modulus(b m.BankAccount, modulus int, data m.SortCodeData) (remainder int)

Perform the modulus algorithm with a given modulus and return the remainder of the operation

Types

This section is empty.

Jump to

Keyboard shortcuts

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