I am working with a vendor product where they store numeric fields in various ways using the Number data type.
The variations.
Number
Number(38)
Number(12,2)
Number(18)
Integer
I built a summary table using data from various tables in the product and was not careful when I defined the Number fields in the new table. Here is my problem. The reveune fields in the product were defined as Number(12,2) and in my table they are just Number. When I display the results in the new table they look fine, but when I do a calculation they appear to give a floating number as opposed to looking like a currency amount with 2 digits precision. Now, I can make this work by rounding it to 2 digits precision, but I am thinking of going back and defining the fields differently in the table. That is, Number(12,2) instead of just Number. The question is can this be done with out unloading and reloading the table? If I need to reload the table it becomes a lot of work where being able to alter the data type would be relatively easier.
The variations.
Number
Number(38)
Number(12,2)
Number(18)
Integer
I built a summary table using data from various tables in the product and was not careful when I defined the Number fields in the new table. Here is my problem. The reveune fields in the product were defined as Number(12,2) and in my table they are just Number. When I display the results in the new table they look fine, but when I do a calculation they appear to give a floating number as opposed to looking like a currency amount with 2 digits precision. Now, I can make this work by rounding it to 2 digits precision, but I am thinking of going back and defining the fields differently in the table. That is, Number(12,2) instead of just Number. The question is can this be done with out unloading and reloading the table? If I need to reload the table it becomes a lot of work where being able to alter the data type would be relatively easier.