DoubleRange
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Một dải ô có các số thực có độ chính xác gấp đôi.
Biểu diễn dưới dạng JSON |
{
"min": number,
"max": number
} |
Trường |
min |
number
Giá trị dữ liệu tối thiểu, tức là giới hạn dưới của phạm vi.
|
max |
number
Giá trị dữ liệu tối đa, tức là giới hạn trên của phạm vi.
|
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-26 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-26 UTC."],[[["\u003cp\u003eDefines a range of numerical values using a minimum and maximum boundary.\u003c/p\u003e\n"],["\u003cp\u003eUses JSON format with "min" and "max" fields representing lower and upper bounds respectively.\u003c/p\u003e\n"],["\u003cp\u003eBoth "min" and "max" fields are of data type 'number'.\u003c/p\u003e\n"]]],["The content defines a data structure representing a range of double values. This structure is represented in JSON format as an object with two key-value pairs: \"min\" and \"max\". \"Min\" specifies the minimum numerical value within the range, while \"max\" defines the maximum numerical value. Both \"min\" and \"max\" hold number type data, defining the lower and upper limits of the described numerical range.\n"],null,["# DoubleRange\n\nA range of doubles.\n\n| JSON representation |\n|------------------------------------------|\n| ``` { \"min\": number, \"max\": number } ``` |\n\n| Fields ||\n|-------|---------------------------------------------------------------------|\n| `min` | `number` The minimum data value, i.e. the lower bound of the range. |\n| `max` | `number` The maximum data value, i.e. the upper bound of the range. |"]]