Results 1 to 12 of 12

Thread: [Solved]I need some help with a VB.NET Calculator

Threaded View

  1. #1

    Thread Starter
    Member
    Join Date
    Oct 2004
    Location
    United Kingdom
    Posts
    55

    [Solved]I need some help with a VB.NET Calculator

    I have the following code for the decimal button on my calculator...

    dbldisplay = CDbl(lblDisplay.Text)
    lblDisplay.Text = dbldisplay & "."

    This displays a decimal point on the display, but when i click another number, the decimal point disappears.

    Any ideas?
    Last edited by Zimpaz; Nov 20th, 2004 at 08:59 PM.

Posting Permissions

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



Click Here to Expand Forum to Full Width