Function toFloat [src]

Convert self to float type T.

Prototype

pub fn toFloat(self: Managed, comptime T: type) T

Parameters

self: ManagedT: type

Source

pub fn toFloat(self: Managed, comptime T: type) T { return self.toConst().toFloat(T); }