cast

package
v0.0.0-...-0caaa62 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2017 License: GPL-3.0-or-later Imports: 0 Imported by: 0

Documentation

Overview

Package cast provides recasts for lists of ints and floats.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BoolToInt

func BoolToInt(in bool) int

BoolToInt casts a bool to an int.

func FloatsToInts

func FloatsToInts(in []float64) []int

FloatsToInts casts a list of floats to ints.

func IntsToFloats

func IntsToFloats(in []int) []float64

IntsToFloats casts a list of ints to floats.

Types

This section is empty.

Jump to

Keyboard shortcuts

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