I do not see that the english language of numbers spoken do have
a nicer 'algorithm' to decide what is to be 'spoken'. (up to 999)
Do you like something like:
... String [] ... = {"","","","thirty",...};
I mean to avoid index computations; 3 refers now directly to
thirty, the third element of ...?
Where and when is the borderline to not use large numbers such as 999999999999L such that we are asked to introduce a 'constant'
with a good name.
Is 1000L permissable, etc.?! Used ONCE, or more?
Jane Griscti
SCJP, Co-author Mike Meyers' Java 2 Certification Passport
<UL TYPE=SQUARE><I><LI>Ryan Burgdorfer<BR><LI>Java Acolyte</I></UL>
Originally posted by Peter Gragert:
I just was very pleased to combine all my needed strings into one string array.
My math, is not so '....' ( ... = wacky what ever this may means, see further down )
Do you like something like:
... String [] ... = {"","","","thirty",...};
I mean to avoid index computations; 3 refers now directly to thirty, the third element of ...?
And something more:
Where and when is the borderline to not use
large numbers such as 999999999999L such that we are asked to introduce a 'constant' with a good name.
Is 1000L permissable, etc.?! Used ONCE, or more?
JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
<UL TYPE=SQUARE><I><LI>Ryan Burgdorfer<BR><LI>Java Acolyte</I></UL>
Marcus L�ubli, SCJP 1.4, CLP 5.0, SCWCD 1.4 (preparing)
JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Marcus L�ubli, SCJP 1.4, CLP 5.0, SCWCD 1.4 (preparing)
Marcus L�ubli, SCJP 1.4, CLP 5.0, SCWCD 1.4 (preparing)