• Post Reply Bookmark Topic Watch Topic
  • New Topic

Filling a rectangle with double pecision

 
Jenn Terry
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have run into a bit of a head scratcher, at least to me. I am building multiple rectangles using double precision. I had to switch from int to double due to another issue that requires decimal places. Now, my fillRect (last line in the code section I posted) is causing an error as it only wants to work with int. I'm sure someone has run across this before, so I am asking you guru's for you help.

 
Jenn Terry
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, the very next search I did, I finally came up with the answer as follows:



Thanks for looking.
 
Paul Clapham
Sheriff
Posts: 21892
36
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jenn Terry wrote:Thanks for looking.


And thanks for coming back to post the solution, Jenn!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!