BIP: Pre-formatted numbers in XML
Bascialy , the numbers should be in raw format in xml, so that BIP engine applies or calculates what ever we needed, and for display purpose in RTF template , we can add the formatting.
But,
Even if the xml contains pre-formatted tags like this.
SAL>10,000,000.00
Use translate to remove all the comma's
if you use this translate and pass
translate(SAL,',','') , the output is 10000000.00, which looks as raw.
now you can generate the xls from this. cant we ?
?format-number: translate('10,000,00.00',',','');'PT999G999D99;( PT999G999D99)'?
But,
Even if the xml contains pre-formatted tags like this.
SAL>10,000,000.00
Use translate to remove all the comma's
if you use this translate and pass
translate(SAL,',','') , the output is 10000000.00, which looks as raw.
now you can generate the xls from this. cant we ?
?format-number: translate('10,000,00.00',',','');'PT999G999D99;( PT999G999D99)'?
Comments