แบบสำรวจการวิจัย: บอกให้เราทราบเกี่ยวกับประสบการณ์การใช้งาน Blockly
เริ่มแบบสำรวจ
blockly > FieldNumberConfig > ความแม่นยำ
พร็อพเพอร์ตี้ FieldNumberConfig.precision
ลายเซ็น:
precision?: number;
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-10-15 UTC
[null,null,["อัปเดตล่าสุด 2024-10-15 UTC"],[[["The `precision` property of `FieldNumberConfig` is optional and represents the precision of the number."],["This property determines the smallest increment that the number can be adjusted by using the input's up and down arrow keys and/or mouse wheel."],["It is typically a positive number but a value of 0 disables any rounding, and when undefined the default precision is used (likely 0 in most cases)."]]],["The `precision` property, part of the `FieldNumberConfig` interface, is defined as an optional number. This indicates that when configuring a field for handling numbers, a user can optionally specify the `precision` of that number, determining how many decimal places it should have. The property signature `precision?: number;` reflects this optional nature.\n"]]