Search

Results 1 to 20 for string formatting.

  1. FPSpreadsheet

    format).\ (\ \ \ \ ) Writing of all formats is supported. Some rare custom formats, however, may not be recognized correctly. BIFF2 supports only built-in formats by design. Progress of the formatting options ... PCell. - Store formatting in a format list of the workbook, not in the cell, to reduce memory usage. - Use BIFF8 file-wide string storage instead of storing strings in cells

  2. ZMSQL

    integer or floating point value to a string in a way specified by a format string. Syntax: format(value,formatstring) Example: update users set userid format(userid,'%.8d') Format strings ... integer value. The value is converted to a string of decimal digits. If the format string contains a precision specifier, it indicates that the resulting string must contain at least

  3. Format function

    function The format Function function formats a series of values into a String string . The format function is found in the unit SysUtils unit SysUtils . For an in-depth explanation ... less than 8, the output will be padded on the left with zeroes. String formatting ------ ----------------------------------------------------------------------------------------------------------------------------------------   %s Will print the string as it is.   %8s Will print the string

  4. RFC 1123 Time Format

    Time Format Function RFC1123TimeFormat(aDateTime: TDateTime ; isLocalTime\:boolean)\:string; creates and displays the time in the RFC 1123 International format: DAY, DD MON YYYY ... TDateTime; Unit SysUtils function FormatDateTime provides rich formatting of a TDateTime value into a string. Formatting is defined by the Formatting string. pascal function FormatDateTime ( const Formatting : string; DateTime : TDateTime

  5. BcdUnit

    Integer): Boolean; from BCD Convert Bcd struct to string/Double/Integer function BcdToStr(const Bcd: TBcd): string; overload; function BcdToDouble(const Bcd: TBcd): Double; function BcdToInteger(const Bcd: TBcd; Truncate: Boolean): Longint ... Curr: Currency): Boolean; function BcdToStrF(const Bcd: TBcd; Format: TFloatFormat; const Precision, Digits: Integer): string; Formatting Bcd as string function FormatBcd(const Format: string; Bcd: TBcd): string; function BcdCompare(const

  6. Pascal for Visual Basic users

    Boolean     Boolean     True False String functions VB Pascal Remark -------------------------------------- --------------------------------------------------- ----------------------   &     +   String concatenation   Format(item, formatstring)   format(formatstring, items)     left(some_string,n)   leftstr(some_string, n) or copy (some_string

  7. NumLib Documentation

    Integer; function ComplexToStr(z: complex; Decimals: Integer): String; var sgn: array boolean of string ('+', '-'); begin Result : Format('%. f %s %. fi', Decimals, z.Re, sgn z.Im < 0 , Decimals, abs(z.Im) ); end; begin ... complex; function ComplexToStr(z: complex; Decimals: Integer): string; const SIGN: array boolean of string ('+', '-'); begin Result : Format('%. f %s %. f i', Decimals, z.re, SIGN z.im < 0 , Decimals, abs(z.im

  8. Fpsonar strings

    ValidFormatString major · on by default A malformed conversion specifier in a Format string. Format parses its template at run time, so a bad specifier is an exception rather than ... default An argument whose type does not match its specifier — a string where %d expects an integer. Format takes an array of variants, so the compiler cannot check this

  9. DateTimeCtrls Package

    hours format, with AM/PM string and tf24 sets to 24 hours format. TextForNullDate: String > Text which appears when the null date is set and control does not have focus. When ... provided NullInputAllowed: Boolean NullInputAllowed property is True. > > When TextForNullDate is set to empty string, zeros/nines format is displayed even when control does not have focus. If you want empty display

  10. TTimeEdit

    specific properties are available when the user requires a different formatting: - TimeFormat (string): This format string replaces the DefaultFormatSettings.ShortDateFormat . Basically, it can contain - one or two 'h' characters

  11. Getting translation strings right

    CFBundleLocalizations key, see lazarus.app/Contents/Info.plist for an example. ::: The format() function To not only allow completely static strings in translations, you can use the doc:rtl/sysutils/format.html format() method ... that language). - Never compose a sentence out of more than one string. Always use the format() method from the sysutils unit to construct the correct string using placeholders during runtime

  12. Using macOS Alert Panels

    msgFormat should be a static value that can consist of variable values using a format string (list any necessary arguments for this formatted string at the end of the function

  13. Lazarus 1.8.0 release notes

    check the result for True, but for "\< >nil". IDE incompatibilities Form resource strings table LRT format support is dropped, LRJ format introduced instead - Old behavior: Form resource strings were extracted ... into LRT file when saving form. - New behavior: Form resource strings are extracted into LRJ file with format unified with RSJ files which are emitted

  14. LazReport Documentation

    www.freepascal.org/docs-html/rtl/sysutils/formatfloat.html). STRTODATE(\< X >) : Returns the TDateTime(? not date?) representation of string \< X >. \< X > must be formatted correctly. STRTOTIME ... Returns the TDateTime time part representation of string \< X >. \< X > must be formatted correctly. String functions LOWERCASE(\< X >) : Returns lowercase \< X> UPPERCASE(\< X >) : Returns uppercase \< X> NAMECASE(\< X >) : Returns

  15. SQLDBRestBridge

    execute HTTP requests, and that it understands one of the available data formats. - This does not expose objects as REST resources. > Using some tricks, this could be done, but this ... null values (if format allows it) 3. ooHumanReadable Pretty-print output. - InputFormat (string) Name of Input format to use for all requests. - OutputFormat (string) Name of Output format

  16. RFC 1123 Time Format/fi

    month : string; someDateTime:TDateTime; begin if isLocalTime then someDateTime : LocalTimeToUniversal(aDateTime) else someDateTime : aDateTime; day : ShortDayNamesEnglish DayOfWeek(someDateTime) ; month : ShortMonthNamesEnglish MonthOf(someDateTime) ; result : day+', '+FormatDateTime('dd', someDateTime)+' '+ month+' '+FormatDateTime('yyyy ... monipuolisen TDateTime-arvon muotoilun merkkijonoksi. Muotoilu on määritellään Formatting merkkijonolla. pascal function FormatDateTime ( const Formatting : string; DateTime : TDateTime ) : string; Unit SysUtils function EncodeDate rakentaa vuodesta, kuukaudesta ja päivästä TDateTime varvon

  17. FPSpreadsheet: Examples

    SysUtils, fpstypes, fpspreadsheet, fpsallformats, fpspreadsheet_pkg; const INPUT_FORMAT sfOpenDocument; OUTPUT_FORMAT sfExcel8; var MyWorkbook: TsWorkbook; MyDir: string; begin // Initialization MyDir : ExtractFilePath(ParamStr(0)); // Convert the spreadsheet MyWorkbook : TsWorkbook.Create ... Classes, SysUtils, fpstypes, fpspreadsheet, fpsallformats, laz_fpspreadsheet; const OUTPUT_FORMAT sfExcel5; var MyWorkbook: TsWorkbook; MyWorksheet: TsWorksheet; MyFormula: TsRPNFormula; MyDir: string; begin // Initialization MyDir : ExtractFilePath(ParamStr(0)); // Create the spreadsheet MyWorkbook

  18. Helper types

    function ToString(const aFormat: String): String; overload; end; function TObjectHelper.ToString(const aFormat: String): String; begin Result : Format(aFormat, ToString ); end; var o: TObject; begin Writeln(o.ToString('The object''s name ... else Exit(''); for ti : 1 to High(Self) do Result + Format(',%d', Self ti ); end; procedure HIntArray.setCommaText(AValue: string); var arr: TStringArray; i: integer; begin Self: ; arr: AValue.Split

  19. Lazarus Tdbf Tutorial

    OnGetText and OnSetText events to encrypt/decrypt the field contents. Code pages and string encoding issues The dbf format is very old and thus can only handle strings with single-byte ... uses UTF-8 encoded strings, there must be a conversion between both formats, otherwise the dbf strings are not displayed correctly in the LCL controls. For this purpose the TDbf

  20. TAChart documentation

    values of provided data items are TDateTime values, and Label values contain formatted date-time strings. If you want to use TDateTimeIntervalChartSource as the source of axis marks, you should ... requirements. - If date units are not "equidistant" (for example, numbers in YYYYMM format or even date strings), use surrogate X coordinate (usually, simply a point index) instead and display dates