Win a copy of Microservices Testing (Live Project) this week in the Spring forum!

Ryan Ryszka

Greenhorn
+ Follow
since Jan 03, 2001
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Ryan Ryszka

I found something that worked, I guess I will follow up on my own post:

NumberFormat format = NumberFormat.getInstance();
format.setGroupingUsed(false);
System.out.println(format.format(trans.getEmployeeNum()));
System.out.println(format.format(trans.getEmployeeNum()));

the setGroupingUsed was the key, thanks to all who replied!
17 years ago
Does anyone know how I can get rid of the Thousands-separator in a Long data type object? I have looked all over NumberFormat, and can not find a function to accomplish this. Any help would be appreciated.

Thanks,
Ryan
17 years ago
Thanks for all the help and the quick response!!! I think I have it now.
21 years ago
I would like to question the validity of this statement made about Assgn 1.3.
"The tricky thing here is that a leap year occurs:
on every year that is evenly divisible by 4
except every year that is evenly divisible by 100
except every year that is evenly divisible by 400. "
Wouldn't that mean that the year 2000 wasn't a leap year?
2000/4 = 500
2000/100 = 20
2000/400 = 5
Please set me straight if I am misinterpreting this pseudo code.
21 years ago
Lynn,
Watch out for the nitpicker!! My advice would be to e-mail your code from an account like Yahoo or Hotmail. That way your source code doesn't get indents and other stuff in wacky places. This is a great site though, with a lot of good information and help.
21 years ago
The only modeling tool that I have used is called SELECT. Although it was simple to pick up at first, it is a slow and clunky program. The built in help was also not very helpful when trying to find answers to more advanced questions. Switching between windows and diagrams was also very cumbersome! Hope this helps.
--Ryan
21 years ago