calculator

package
v0.0.0-...-ccb9487 Latest Latest
Warning

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

Go to latest
Published: May 1, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Numbers

type Numbers struct {
	X        float64
	Y        float64
	Operator string
}

func (*Numbers) Add

func (n *Numbers) Add() float64

func (*Numbers) Calc

func (n *Numbers) Calc() (float64, string)

func (*Numbers) Divide

func (n *Numbers) Divide() float64

func (*Numbers) Multiply

func (n *Numbers) Multiply() float64

func (*Numbers) Subtract

func (n *Numbers) Subtract() float64

Jump to

Keyboard shortcuts

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