Changeset 21 for rxutilex/trunk/FUNCTIONS
- Timestamp:
- Oct 28, 2014, 12:30:20 PM (11 years ago)
- File:
-
- 1 edited
-
rxutilex/trunk/FUNCTIONS (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
rxutilex/trunk/FUNCTIONS
r20 r21 9 9 Sys2DisconnectNamedPipe - Acknowledge that a named pipe session has ended 10 10 Sys2DropFuncs - Deregister all functions 11 Sys2FormatNumber - Format a number with thousands-grouping characters 11 12 Sys2FormatTime - Format calender time (strftime wrapper) 12 13 Sys2GetClipboardText - Retrieve the current clipboard text … … 146 147 REXX ARGUMENTS: None 147 148 REXX RETURN VALUE: "" 149 150 151 ------------------------------------------------------------------------- 152 Sys2FormatNumber 153 154 Formats a number to use thousands-grouping characters. The system values 155 for the current locale are used for the thousands-grouping character and 156 the decimal place, if any. Note that the IBM C runtime's built-in locale 157 definitions are used; these may not correspond precisely to the system 158 locales as defined in the OS/2 Locale object. 159 160 The input number may be a positive or negative integer or floating point 161 value. It must be a simple, non-localized number value; in other words, 162 it must not contain any thousands-grouping characters, and any decimal 163 point which it contains must be a period (rather than any localized 164 decimal symbol). 165 166 REXX ARGUMENTS: 167 1. Number to be formatted. (REQUIRED) 168 2. Number of decimal places to use for floating point values. 169 Ignored for integer values. (DEFAULT: 2) 170 171 REXX RETURN VALUE: The formatted number, or '' on error. 148 172 149 173
Note:
See TracChangeset
for help on using the changeset viewer.
