×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    6

    g.drawString + Double

    how can i output a Double Interger Variable with the DrawString Varible?

    g.drawString(String.valueOf(test).....

    dosn't work :-(

    cu

  2. #2
    Registered User
    Join Date
    Mar 2003
    Posts
    19
    g.drawString(myintvariable+"", etc...


    r

  3. #3
    Registered User
    Join Date
    Mar 2003
    Posts
    6
    thanks,

    i can only draw string variables or?

    cu

  4. #4
    Registered User
    Join Date
    Mar 2003
    Posts
    19
    drawString displays strings. Therefore, cast any value to a string below using this method.

    mydoublevar+"" it the quickest way.

  5. #5
    Registered User
    Join Date
    Mar 2003
    Posts
    6
    okay thanks.

    cu l@w

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×