Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/expr-lang/expr
/ Decimal
Struct
Decimal
expr_test.go:422–422 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
420
421
func
ExampleOperator_with_decimal() {
422
type
Decimal
struct
{ N float64 }
423
code := `A + B - C`
424
425
type
Env
struct
{
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected