diff options
Diffstat (limited to 'internal/node/number.go')
-rw-r--r-- | internal/node/number.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/internal/node/number.go b/internal/node/number.go new file mode 100644 index 0000000..055ae00 --- /dev/null +++ b/internal/node/number.go @@ -0,0 +1,9 @@ +package node + +func (n *Node) SetNumber(v float64) { + n.numberValue = v +} + +func (n *Node) GetNumber() float64 { + return n.numberValue +} |