temperature

package
Version: v0.0.0-...-c7b5244 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2021 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const CelsiusOffset = 273.15

Variables

This section is empty.

Functions

func Convert

func Convert(value float64, from, to Unit) float64

Types

type Unit

type Unit int
const (
	Kelvin Unit = iota
	Celsius
	Fahrenheit
)

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL