We're a community of 1077K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,076,154 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

Loss of precision

Solved

2
Contributors
1
Reply
28 Minutes
Discussion Span
11 Months Ago
Last Updated
2
Views
enakta13
Light Poster
37 posts since Jan 2011
Reputation Points: 7
Solved Threads: 0
Skill Endorsements: 0

myArray[i] = (char)(myLongNum % 8);
it doesn't solve the problem also

Are you sure - it works on my Java compiler! Whayt exactly is the error you get with this version?

JamesCherrill
... trying to help
Moderator
8,519 posts since Apr 2008
Reputation Points: 2,583
Solved Threads: 1,455
Skill Endorsements: 30

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
View similar articles that have also been tagged:
 
© 2013 DaniWeb® LLC
Page rendered in 0.0616 seconds using 2.78MB