Skip to content

Commit

Permalink
Merge pull request PaesslerAG#44 from darh/patch-1
Browse files Browse the repository at this point in the history
EvalFloat64 fn doc typo fixed
  • Loading branch information
generikvault authored Sep 28, 2020
2 parents 3022fab + 24ab87b commit dbbd367
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion evaluable.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func (e Evaluable) EvalInt(c context.Context, parameter interface{}) (int, error
return int(f), nil
}

//EvalFloat64 evaluates given parameter to an int
//EvalFloat64 evaluates given parameter to a float64
func (e Evaluable) EvalFloat64(c context.Context, parameter interface{}) (float64, error) {
v, err := e(c, parameter)
if err != nil {
Expand Down

0 comments on commit dbbd367

Please sign in to comment.