Not logged in : Login
(Sponging disallowed)

About: http://docs.openlinksw.com/virtuoso/xpf_format_number.html     Goto   Sponge   NotDistinct   Permalink

An Entity of Type : rss:item, within Data Space : www.openlinksw.com associated with source document(s)
QRcode icon
http://www.openlinksw.com/describe/?url=http%3A%2F%2Fdocs.openlinksw.com%2Fvirtuoso%2Fxpf_format_number.html

AttributesValues
described by
Description
  • The function converts the num argument to a string using the format pattern string specified by the format_pattern and the decimal-format named by the decimal_format, or the default decimal-format, if there is no third argument. The format pattern string is in the syntax specified by the JDK 1.1 DecimalFormat class. The following describes the structure of the pattern. The pattern consists of one or two subpatterns, first is for positive numbers and zero, second is for negative numbers. Two subpatterns are delimited by semicolon. If there is only one subpattern, - is prefixed to the positive subpattern. Every subpattern consists of optional prefix characters followed by an integer part followed by an optional fraction part followed by an optional suffix characters. Prefix and suffix characters are any Unicode characters except special formatting characters described below, while integer and fraction part consist only from that special formatting characters. (As an exception, special characters may appear in prefix in suffix parts if enclosed in single quotes. If fractional present, it starts from '.' character, and only one '.' may occur in the subformat. Thus it is easy to find where each part begins. By default, the following characters are treated as special when used in the parts of the subpattern: SymbolMeaning 0A digit, zero will be printed. 0 must be the last character of integer part. #A digit, zero will not be printed. .Placeholder for decimal separator in the beginning of fraction part. ,Placeholder for grouping separator. It may appear only in integer part. All commas except the last will be ignored. ;Separates formats. It may appear only once in the pattern. -Placeholder for negative prefix. %Indicates that the value must be multiplied by 100 and shown as percentage. ?Indicates that the value must be multiplied by 1000 and shown as per mille. Note that character '¤' have a special meaning in DecimalFormat of JDK 1.1, but not in XPATH.
Creator
  • virtuoso.docs@openlinksw.com
Date
  • 2013-07-11T21:22:54Z
  • 2015-02-05T21:17:51Z
Title
  • Function: format-number
type
content:encoded
  • The function converts the num argument to a string using the format pattern string specified by the format_pattern and the decimal-format named by the decimal_format, or the default decimal-format, if there is no third argument. The format pattern string is in the syntax specified by the JDK 1.1 DecimalFormat class. The following describes the structure of the pattern. The pattern consists of one or two subpatterns, first is for positive numbers and zero, second is for negative numbers. Two subpatterns are delimited by semicolon. If there is only one subpattern, - is prefixed to the positive subpattern. Every subpattern consists of optional prefix characters followed by an integer part followed by an optional fraction part followed by an optional suffix characters. Prefix and suffix characters are any Unicode characters except special formatting characters described below, while integer and fraction part consist only from that special formatting characters. (As an exception, special characters may appear in prefix in suffix parts if enclosed in single quotes. If fractional present, it starts from '.' character, and only one '.' may occur in the subformat. Thus it is easy to find where each part begins. By default, the following characters are treated as special when used in the parts of the subpattern: SymbolMeaning 0A digit, zero will be printed. 0 must be the last character of integer part. #A digit, zero will not be printed. .Placeholder for decimal separator in the beginning of fraction part. ,Placeholder for grouping separator. It may appear only in integer part. All commas except the last will be ignored. ;Separates formats. It may appear only once in the pattern. -Placeholder for negative prefix. %Indicates that the value must be multiplied by 100 and shown as percentage. ?Indicates that the value must be multiplied by 1000 and shown as per mille. Note that character '¤' have a special meaning in DecimalFormat of JDK 1.1, but not in XPATH.
rss:category
  • XPATH & XQUERY
is topic of
is rdf:_773 of
Faceted Search & Find service v1.17_git122 as of Jan 03 2023


Alternative Linked Data Documents: iSPARQL | ODE     Content Formats:   [cxml] [csv]     RDF   [text] [turtle] [ld+json] [rdf+json] [rdf+xml]     ODATA   [atom+xml] [odata+json]     Microdata   [microdata+json] [html]    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 08.03.3330 as of Apr 5 2024, on Linux (x86_64-generic-linux-glibc25), Single-Server Edition (30 GB total memory, 26 GB memory in use)
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2024 OpenLink Software