10-07-2008 11:24 AM
Hi
I need to create a Dom that has 15 decimals and 5 chars
before the point:
ie it should be able to store the value in the format: YYYYY.XXXXXXXXXXXXXXX
I tried creating DOm using DEC data type with decimals 15
but unforunately system is not allowing to create dom with 15 decimals
. So i am stuck in mid.
My customer wants this ! Please advice !
RJ
10-07-2008 11:41 AM
10-07-2008 11:45 AM
Data Type CURR/DEC "From Domain Defination tab
No. Characters 20
Decimal Places 15
Output Length 20
Convers. Routine
10-07-2008 11:53 AM
10-07-2008 12:13 PM
10-07-2008 12:15 PM
10-07-2008 12:20 PM
hai,
max length is 14 only.
shan.
Edited by: shan palani on Oct 7, 2008 4:52 PM
10-07-2008 12:23 PM
10-07-2008 12:24 PM
well, this is quite normal, there is even a message about this: 14 is the maximum number of decimals you can use for DEC type domains.
I think you have the following options:
-convience your client to use only 14 decimals (I have no idea what difference does it make to use 15 and where you can use that punctuality at all, most currencies have only 2 decimals)
-try data type FLTP, it has 16 decimals (but it is hard coded, that means you cannot change to 15)
10-07-2008 12:32 PM
yes i tried but no success to make it 15
may be we have to live with this(max 14) there would not be an major cause in 14 instead of 15.
10-08-2008 5:08 AM
In cas eof FLTP, How many places(digits) can we have before the decimal point ?
My understanding is that we can have 16 decimals places (ie 16 digits after decimal point).
10-08-2008 5:12 AM
In this case The length (including decimal places) is defined as 16 places for this data type.
you need to hardcode one char after the decimal all the time as you need only 15 char after decimal.it is predefined type which must be 16 char only.
10-08-2008 5:26 AM