Click or drag to resize

imbTextFormatToolsgetFormatFromExample Method

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
VRaca string format vrednost - u skladu sa string format pravilima> #.000 ce vratiti broj sa tri decimale

Namespace:  imbSCI.Core.extensions.text
Assembly:  imbSCI.Core (in imbSCI.Core.dll) Version: 0.3.58.
Syntax
C#
public static string getFormatFromExample(
	this string numericInput,
	int defaultDecNumbers = 2
)
Request Example View Source

Parameters

numericInput
Type: SystemString
String koji sadrzi brojnu vrednost sa decimalama, npr. 25.00
defaultDecNumbers (Optional)
Type: SystemInt32
Koliko ce decimalnih vrednosti zabeleziti ako nema uopste decimale

Return Value

Type: String

Usage Note

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