calculator

package
v0.0.0-...-8284307 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BodyFatCalculator

type BodyFatCalculator struct {
	Neck        float64
	Waist       float64
	Weight      float64
	Height      float64
	Age         int
	Description string
	HealthRisk  string
}

func (BodyFatCalculator) Calculate

func (bf BodyFatCalculator) Calculate() float64

func (BodyFatCalculator) CalculateBMI

func (bf BodyFatCalculator) CalculateBMI() float64

func (BodyFatCalculator) ReadIdeals

func (bf BodyFatCalculator) ReadIdeals(body_fat_percentage float32) Ideal

type Ideal

type Ideal struct {
	Descripton string
	HealthRisk string
	CurrentMax float32
	CurrentMin float32
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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