add val method
parent
5da5d770d9
commit
1f54af9752
|
@ -43,6 +43,10 @@ impl<
|
|||
U: Unit<Self> {
|
||||
self.0.sub(U::offset()).div(U::scale())
|
||||
}
|
||||
|
||||
pub fn val(self) -> f64 {
|
||||
self.0
|
||||
}
|
||||
}
|
||||
|
||||
impl<
|
||||
|
|
Loading…
Reference in New Issue