PRINTF()
From Recital Documentation Wiki
Revision as of 12:22, 11 November 2009 by Yvonnemilne (Talk | contribs)
Purpose
Function to perform 'C' style picture formatting
Syntax
PRINTF(<expC>, <exp1> [,<exp2>...])
See Also
ETOS(), FPRINTF(), SPRINTF(), TOSTRING()
Description
The PRINTF() function displays a string including one or more parameters, <exp1> [,<exp2>...], formatted according to the 'C' style options specified in <expC>. Each formatting sequence is applied to the corresponding parameter in the parameter list from left to right.
Formatting option | Description |
---|---|
%s | |
%d | |
%f | |
%y | |
%t | |
%T | |
%l | |
%L |
Example
total = 3001.23 ? transform(total, "$$$$$9.99") $3001.23 ? transform((0x1a * 2),"@0") 0x00000034
Products
Recital Database Server, Recital Mirage Server, Recital Terminal Developer