FloatExt.SecondsToTimeString Method
Converts a float value representing time in seconds to a formatted string value.
Namespace: UltimateXR.Extensions.System.Math
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0
Syntax
C#
public static string SecondsToTimeString(
this float self
)
Parameters
- self
- Type: System.Single
Seconds to convert
Return Value
Type: String
Formatted time hh:mm::ss
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type Single. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).