Context: |
Function |
Library/Class: |
Utilities |
Function FormatSingleValue() As
FormatSingleValue (AnyValue As Variant) As String
This function is using the Lotus Script format() function with pre-defined format pictures for the different data types:
INTEGER : “0000000000000000”
LONG : “00000000000000000000000000000000”
SINGLE : “0000000000000000.0000”
DOUBLE : “00000000000000000000000000000000.00000000”
DATE : “yyyymmdd hhnnss”
BOOLEAN : "0" or "1"
STRING : “...”
If AnyValue is of type BOOLEAN, the return value is “0” for False and “1” for True.
This function is mainly used for Integra’s internal Notes document collection sorting alghoritm.
Parameters:
The value to be formatted to a string value. Any of the above data types is allowed as single value. Arrays or lists are not allowed.
Return Value:
|