Digital

Use digital tags.

The FlowerDocs data model allows you to define three types of digital tags:

  • integers INT
  • decimal numbers FLOAT
  • amounts CURRENCY

Integer

This type is used to enter an integer number.


Example

<?xml version="1.0" encoding="UTF-8"?>
<ns2:TagClass xmlns="http://flower.com/docs/domain/common" xmlns:ns2="http://flower.com/docs/domain/tagclass"
	xmlns:ns3="http://flower.com/docs/domain/i18n">
	<id>NumberDocument</id>
    <ns2:type>INT</ns2:type>
</ns2:TagClass>

Decimal

This type is used to enter a decimal number.


Example

<?xml version="1.0" encoding="UTF-8"?>
<ns2:TagClass xmlns="http://flower.com/docs/domain/common" xmlns:ns2="http://flower.com/docs/domain/tagclass"
	xmlns:ns3="http://flower.com/docs/domain/i18n">
	<id>RateResa</id>
    <ns2:type>FLOAT</ns2:type>
</ns2:TagClass>

Amount

This type allows you to enter a decimal number with only 2 decimals stored and displayed.


Example

<?xml version="1.0" encoding="UTF-8"?>
<ns2:TagClass xmlns="http://flower.com/docs/domain/common" xmlns:ns2="http://flower.com/docs/domain/tagclass"
	xmlns:ns3="http://flower.com/docs/domain/i18n">
	<id>AmountTTC</id>
    <ns2:type>CURRENCY</ns2:type>
</ns2:TagClass>