## Oracle Data types

5 pts.
Tags:
Data Types
Oracle 9i
I am just learning an ORACLE 9i Book and i was seen that in number Data type the Range is Lies between 1 to 38 in Decimal And -84 to 127 of Scale Range How it is possible because these Fraction degits are subtratect from whole degits ex:-
```var1 number (5,25);--------------(1)--it is possible?
var2 number (5,-20)--------------(2);--and also this?
```
In above example in statement (1) how can 25 devide into 5 and if i will then what will become the range of that variable. Please Give me the answer of it. Because i m so confused of it,

Thanks. We'll let you know when a new response is added.

Hi,

Positive scale means the number of digit to right of decimal point, when scale is bigger than precision than 0’s added before significant digits, in your case var1 will look like something like 0.0….012345, there will be 20 zeros.

Negative scale on the other hand represents number of digits on the left of decimal point therefore the power of 10, so your var2 will look like 12345* 10**20

good luck!