tempconv

package
v0.0.0-...-f598266 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package tempconv performs Celsuis and Farenheit temperature computations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Celsius

type Celsius float64
const (
	AbsoulteZeroC Celsius = -273.15
	FrezzingC     Celsius = 0
	BoilingC      Celsius = 100
)

func FToC

func FToC(f Farenheit) Celsius

FToC converts Farenheit temperature to Celsius.

func (Celsius) String

func (c Celsius) String() string

type Farenheit

type Farenheit float64

func CToF

func CToF(c Celsius) Farenheit

CToF converts Celsius temperature to Farenheit.

func (Farenheit) String

func (f Farenheit) String() string

Jump to

Keyboard shortcuts

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