Function toFloat [src]
Convert self to float type T.
Prototype
pub fn toFloat(self: Managed, comptime T: type) T
Parameters
self: Managed
T: type
Source
pub fn toFloat(self: Managed, comptime T: type) T {
return self.toConst().toFloat(T);
}