If s > p, then s specifies the maximum number of valid digits after the
decimal point. For instance, number(4,5) requires at least one digit after
the decimal point and rounds the digits after the fifth decimal digit. The
number 0.012358 is stored as 0.01236.
Numbers may also be entered in exponential form, that is, including
an exponent preceded by E. For example, 1234567 can be represented as
1.234567E+6, that is, as 1.234567 × 106.
• Floating point domains are supported as float, float(*), and float(b),
where b is the binary precision, that is, the number of significant binary
digits. The domains float and float(*) are equivalent, and they consists
of floating point numbers that can be represented by 126 binary digits (or,
equivalently, by about 36 decimal digits).
• To provide compatibility with other systems, ORACLE supports such
domains as decimal, integer, smallint, real, and double precision.
However, their internal representation is defined by the format of the
number domain.
ถ้า S> p, แล้ว s ระบุจำนวนสูงสุดของตัวเลขที่ถูกต้องหลัง
จุดทศนิยม ยกตัวอย่างเช่นตัวเลข (4,5) ต้องมีอย่างน้อยหนึ่งหลักหลัง
จุดทศนิยมและรอบตัวเลขหลังจากห้าหลักทศนิยม
จำนวน 0.012358 ถูกเก็บไว้เป็น 0.01236.
หมายเลขนอกจากนี้ยังอาจถูกป้อนในรูปแบบที่ชี้แจงว่าเป็นรวมทั้ง
สัญลักษณ์นำโดยอีตัวอย่างเช่น, 1234567 สามารถแสดงเป็น
1.234567E + 6, ที่อยู่, เป็น 1.234567 × 106.
•ลอย โดเมนจุดได้รับการสนับสนุนเป็นทุ่นลอย (*) และลอย (ข)
ที่ B คือความแม่นยำไบนารี, ที่อยู่, หมายเลขของไบนารีที่สำคัญ
ตัวเลข โดเมนลอยและลอย (*) จะเทียบเท่าและพวกเขาประกอบด้วย
ตัวเลขลอยจุดที่สามารถแทนด้วย 126 ตัวเลขไบนารี (หรือ
เท่ากันโดยประมาณ 36 ทศนิยม).
•เพื่อให้เข้ากันได้กับระบบอื่น ๆ , Oracle สนับสนุนเช่น
โดเมน เป็นทศนิยมจำนวนเต็ม smallint จริงและความแม่นยำสอง.
อย่างไรก็ตามการแสดงภายในของพวกเขาจะถูกกำหนดโดยรูปแบบของ
โดเมนจำนวน
การแปล กรุณารอสักครู่..
