संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
ब्लॉकली > FieldNumber > getPrecision
फ़ील्डNumber.getPrecision() मेथड
इस फ़ील्ड की मौजूदा सटीक जानकारी दिखाता है. वह सटीक संख्या है जिस पर फ़ील्ड की वैल्यू को राउंड किया जाता है. 0 के सटीक होने का मतलब है कि वैल्यू को राउंड नहीं किया गया है.
हस्ताक्षर:
getPrecision(): number;
लौटाए जाने वाले प्रॉडक्ट:
संख्या
वह संख्या जिस पर इस फ़ील्ड की वैल्यू को पूर्णांकित किया जाता है.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[],["The `getPrecision()` method, part of the `FieldNumber` class, retrieves the current precision of a field. This precision determines the rounding applied to the field's value. A return value of 0 indicates no rounding is performed. The method outputs a number representing the rounding value.\n"]]