Click or drag to resize

imbStringFormatsgetTimeSecString Method (Double, String, Int32)

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
V3.2: Pretvara milisekunde u sekundni string

Namespace:  imbSCI.Core.extensions.text
Assembly:  imbSCI.Core (in imbSCI.Core.dll) Version: 0.3.58.
Syntax
C#
public static string getTimeSecString(
	this double msec,
	string sufix = "s ",
	int decimals = 2
)
Request Example View Source

Parameters

msec
Type: SystemDouble
Milisekunde
sufix (Optional)
Type: SystemString
Sufix za mernu jedinicu
decimals (Optional)
Type: SystemInt32
Na koliko decimala

Return Value

Type: String
String formatiran na dve decimale

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Double. 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).
See Also