BIN YQL9K Documentation
Author: Michele Vivoda
Version: 20
Description: Percentage display and parse with xs:decimal, fractionDigits facet and nc.minFractionDigits extra attribute
Created: 2017-03-08
Modified: 2017-03-08
Source:
Modifica Bin W3C Schema Json-Schema Java Bean Code Default Value as XML<complexType name='Form' description='Percentage display and parse with xs:decimal, fractionDigits facet and nc.minFractionDigits extra attribute' > <field name='DecimalPercentFormat' type='xs:decimal' default='0.23232425' extra:nc.format='percent' extra:form.explanation='In this input one can insert more than two decimals, they will be displayed as two, the persisted value may have the inserted decimals, possible more than two'/> <field name='DecimalPercentFormatFractDig4' type='xs:decimal' default='0.232' extra:nc.format='percent' extra:form.explanation='In this input one cannot insert more than two decimals, if more are inserted a validation error happens, after error display the input contains the correct number of decimals for next submit'> <facet name='fractionDigits' value='4'/> </field> <field name='DecimalPercentFormatFractDig4Min2' type='xs:decimal' default='0.23' extra:nc.format='percent' extra:nc.minFractionDigits='2' extra:form.explanation='In this input one cannot insert more than two decimals like the input before but here the formatting is always with two decimals'> <facet name='fractionDigits' value='4'/> </field> </complexType>application/xml //efbin.org/osk/YQL9K //efbin.org/bin/YQL9K Eleusoft ARIA