Search Apps Documentation Source Content File Folder Download Copy Actions Download

calculator package

Functions

ComputeResult

func ComputeResult(expression string) string
Execute

expression is the equation you want to solve (p replaces the + symbol) exemple: 2p4/2

Param

Command

gnokey query vm/qeval -remote "https://rpc.test10.testnets.gno.land" -data "gno.land/r/miko/calculator.ComputeResult()"

Result

Render

func Render(path string) string
Execute

Param

Command

gnokey query vm/qeval -remote "https://rpc.test10.testnets.gno.land" -data "gno.land/r/miko/calculator.Render()"

Result