Float (float) in Python (दशमलव डेटा टाइप) :-
Float (float) Python का एक Built-in Numeric Data Type (बिल्ट-इन संख्यात्मक डेटा टाइप) है, जिसका उपयोग दशमलव संख्याओं (Decimal Numbers) या Floating Point Numbers को संग्रहित (Store) करने के लिए किया जाता है।
यदि किसी संख्या में Decimal Point (.) होता है, तो Python उसे सामान्यतः float Data Type मानता है।
Float का उपयोग उन गणनाओं (Calculations) में किया जाता है जहाँ पूर्णांक (Whole Number) के बजाय दशमलव (Fractional) मानों की आवश्यकता होती है, जैसे—मूल्य (Price), तापमान (Temperature), ऊँचाई (Height), वजन (Weight), प्रतिशत (Percentage) आदि।
English
Float (float) is a built-in Numeric Data Type in Python used to store decimal numbers or floating-point numbers.
If a number contains a decimal point (.), Python generally treats it as a float data type.
Float is commonly used when fractional values are required, such as price, temperature, height, weight, percentage, and scientific calculations.
Syntax (सिंटैक्स)-