![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/old/vendor/magento/framework/Setup/Declaration/Schema/etc/types/real/ |
<?xml version="1.0" encoding="UTF-8"?> <!-- /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ --> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"> <xs:include schemaLocation="urn:magento:framework:Setup/Declaration/Schema/etc/types/column.xsd"/> <xs:complexType name="float"> <xs:complexContent> <xs:extension base="abstractColumnType"> <xs:annotation> <xs:documentation> A floating point binary value with single precision. Has rounding issues. Float is good for scientific calculations. For business oriented math like price or qty storages please use decimal type. </xs:documentation> </xs:annotation> <xs:attribute name="default" type="xs:float" /> <!--Note that scale must not be more than precision--> <xs:attribute name="precision"> <xs:simpleType> <xs:restriction base="xs:integer"> <xs:minInclusive value="0" /> <xs:maxInclusive value="255" /> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="scale"> <xs:simpleType> <xs:restriction base="xs:integer"> <xs:minInclusive value="0" /> <xs:maxInclusive value="253" /> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="nullable" type="xs:boolean" /> <xs:attribute name="unsigned" type="xs:boolean" /> </xs:extension> </xs:complexContent> </xs:complexType> </xs:schema>