Survei Riset: Ceritakan pengalaman Anda dengan Blockly
Mulai survei
blockly > FieldNumberConfig > presisi
Properti FieldNumberConfig.Presisi
Tanda Tangan:
precision?: number;
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2024-10-15 UTC.
[null,null,["Terakhir diperbarui pada 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"]]