ToOSDec method (WinStudio scripts)
Applies To
IWSApplication interface
Definition
This translates a string into a decimal value according to the operating system format.
Syntax
Application.ToOSDec( string )
Part | Description |
string | Required. [decimalStr] |
Remarks
The return value is a string.
Example
Dim strInternalDecimal as String
Dim strOperatingSystemDecimal as String
strInternalDecimal = ThisForm.PrimaryCollection.GetCurrentObjectProperty("SomeDecimal") ' maybe 1.2
strOperatingSystemDecimal = Application.ToOSDec( strInternalDecimal ) ' maybe 1,2