Type Function toFloat [src]
Convert self to Float.
Prototype
pub fn toFloat(self: Managed, comptime Float: type, round: Round) struct { Float, Exactness } Parameters
self: ManagedFloat: typeround: Round Source
pub fn toFloat(self: Managed, comptime Float: type, round: Round) struct { Float, Exactness } {
return self.toConst().toFloat(Float, round);
}