MMQLEngine/mmql/statements/amount.go

25 lines
432 B
Go
Raw Permalink Normal View History

2022-10-21 21:58:19 +00:00
package statements
type AmountStatement struct {
IStatement
_value float64
_unit string
_func *FunctionStatement
}
func ( this *AmountStatement ) SetValue( v float64 ) {
this._value = v
}
func ( this *AmountStatement ) Value() float64 {
return this._value
}
func ( this *AmountStatement ) SetUnit( v string ) {
this._unit = v
}
func ( this *AmountStatement ) Unit() string {
return this._unit
}