Will Glass-Husain said:
...
> One comment I got back was that percentages should work:
>    #if($Value.Result == 75%)
>
> Although not standard Java syntax, many numerical programs (such as Excel,
> our own simulation language, and even a hand calculator) accept a percentage
> as part of a number.  Anyone mind if I add this to the floating point
> literal spec?  There's a bit of a conflict with the modulo operator.
> However, the unary negative "-" is implemented as part of the literal,
> despite the conflict with the subtract operator "-" so I see this as
> similar.

i don't see any good reason to mimic Excel, simulations languages, or hand
calculators.  however, as long as you and any others who want this will write
the test cases and support the feature, i won't strongly object.

i just have to say again that this feels like a feature-bloat trend and is
still making me a little nervous.  i think baby-steps are good here.  get one
thing in and working, then go on to the next.  i understand that major
rewrites need to be done sometimes, but since none of us active in the
discussion are committers, such rewrites could be hard to push through.  just
my $0.02

Nathan Bubna
[EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to