Rechercher une page de manuel
Variant-Formats.3w
Langue: en
Version: Jun 2009 (debian - 07/07/09)
Section: 3 (Bibliothèques de fonctions)
NAME
Variant FormatsNOTES
When formatting a variant a variety of format strings may be used to generate different kinds of formatted output. A format string consists of either a named format, or a user-defined format.
The following named formats are defined:
Name Description
---- -----------
General Date Display Date, and time for non-integer values
Short Date Short date format as defined by locale settings
Medium Date Medium date format as defined by locale settings
Long Date Long date format as defined by locale settings
Short Time Short Time format as defined by locale settings
Medium Time Medium time format as defined by locale settings
Long Time Long time format as defined by locale settings
True/False Localised text of "True" or "False"
Yes/No Localised text of "Yes" or "No"
On/Off Localised text of "On" or "Off"
General Number No thousands separator. No decimal points for integers
Currency General currency format using localised characters
Fixed At least one whole and two fractional digits
Standard Same as 'Fixed', but including decimal separators
Percent Multiply by 100 and display a trailing '%' character
Scientific Display with exponent.
User-defined formats consist of a combination of tokens and literal characters. Literal characters are copied unmodified to the formatted output at the position they occupy in the format string. Any character that is not recognised as a token is treated as a literal. A literal can also be specified by preceding it with a backslash character (e.g. "t\
+2">{</FONT>
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre