Re: lexical value of decimal type

Thank you for your response.

> If so, by applying a rule (the fracional part is zero, the period and
> following zeroes can be omitted), "" is also a valid decimal, which
> means 0. Is this correct?   AM>> No, that is not valid.

So what did I miss?   Or rather, what is the spec missing?

All I did was to follow what was written in the spec. 


The following BNF is my understanding of valid lexical value of decimal
type. Is there anything wrong with this?


decimal :=  sign? digit+ ( '.' digit* )?
decimal :=  sign? '.' digit+

sign    := '+' | '-'
digit  := [0-9]


regards,
----------------------
K.Kawaguchi
E-Mail: k-kawa@bigfoot.com

Received on Wednesday, 24 January 2001 17:16:13 UTC