View source | Discuss this page | Page history | Printable version   
Main Page
Upload file
What links here
Recent changes

PDF Books
Add page
Show collection (0 pages)
Collections help





Format.xml is a configuration file per Openbravo installation that allows you configure the format output for numeric values. It's used by the different numeric references in Application Dictionary, but also can be used in manual code. By default Openbravo ships a Format.xml.template that can be copied as it is without any modification.

Bulbgraph.png   If you are building Openbravo from sources, the setup-properties binary makes a copy of it for you.

Format.xml example

<?xml version="1.0" encoding="UTF-8" ?>
<!-- license -->
<!-- other formats -->
   <Number name="euroEdition"
       decimal="." grouping="," formatOutput="#0.00" formatInternal="#0.00" />
<!-- other formats -->


Application dictionary - format name mapping

AD Reference Output format
Decimal, Amount euroEdition
Quantity qtyEdition
Price priceEdition
Integer integerEdition
Number generalQtyEdition
Others numeric generalQtyEdition

Important Notes

Export to CSV format

The export to CSV functionality uses the Format.xml information to format the data (specifically, it uses the decimal separator defined for the system for numeric values).

This can be overwritten in case it is needed, by using the following preferences:

Retrieved from ""

This page has been accessed 7,382 times. This page was last modified on 22 November 2011, at 16:35. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.