--- In [email protected], Chris Johnson <chrisj@...> wrote:
> >Hint: it is not 999 :)
> OK. You have got me. Is it something to do with filtering of
> secured data?

Well, I was very positively surprised how slim and well defined the Syntax 
Version 4 is compared to Version 3. For example where you have to specify the 
decimal separator (, or .) in the UNA segment of version 3, the Syntax Version 
4 mandates that you have to ignore the UNA and accept both signs as valid 
decimal separators in numerical fields.


EDIFACT has always explicite decimals, so this is a good thing. And according 
to the EDIFACT Syntax the - sign and the decimal sign do not count to their 
length. So "N3" can hold "-1,02".

But what I always found confusing is, that it allows the exponential form 1E3 
for "1,000.00". In my opinnion it reduces the value of a numerical field 
greatly when you cannot define its range and precision. 

You always think you know those standards but then they have wacky details:

Since the E sign AND the exponent does not count to the overall size limit of 
the element, I really don't know what the largest numerical value for a N3 
field is, it seems to not actually have one. 
"999E99999999999999999999999999999...."

Greetings
Bernd

PS: http://www.gefeg.com/jswg/v41/data/V41-9735-1.pdf page 20
10 Representation of numeric data element values
For the purposes of this standard, the representation of numeric data element 
values shall be any of the representations as specified by ISO 6093 (which 
excludes the use of triad separators), with the following exceptions:...
- The length of a numeric data element value shall not include the minus sign 
(&#8211;), the decimal mark (. or ,), or the exponent mark (E or e) and its 
exponent



------------------------------------

...
Please use the following Message Identifiers as your subject prefix: <SALES>, 
<JOBS>, <LIST>, <TECH>, <MISC>, <EVENT>, <OFF-TOPIC>

Job postings are welcome, but for job postings or requests for work: <JOBS> IS 
REQUIRED in the subject line as a prefix.Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/EDI-L/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/EDI-L/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Reply via email to