]> saetta.ns0.it Git - zakform/tests/commitdiff
Tested format for float.
authorAndrea Zagli <azagli@libero.it>
Tue, 15 Dec 2015 09:11:32 +0000 (10:11 +0100)
committerAndrea Zagli <azagli@libero.it>
Tue, 15 Dec 2015 09:11:32 +0000 (10:11 +0100)
data/zakformtests/xml/main.xml

index 386147e55f93c4b36f87319d9ab5e19e7edfce56..cb29667b5f5870ec0cb3097716b64b2e29fc7114 100644 (file)
@@ -14,7 +14,8 @@
        <name>id</name>
        <type>integer</type>
        <to-save>FALSE</to-save>
-       <default-value>999</default-value>
+       <default-value>1999</default-value>
+       <format thousands_separator="" />
        <widget>lbl_id</widget>
        <label>label8</label>
   </element>
@@ -94,6 +95,7 @@ and                                    some            tabs
   <element type="zak_form_gtk_form_element_entry">
        <name>income</name>
        <type>float</type>
+       <format currency_symbol="" decimals="3" thousands_separator="-" />
        <widget>txt_income</widget>
        <label>label5</label>
   </element>