Results 1 to 40 of 159

Thread: [RESOLVED] Piecework Visual Basic 6.0

Hybrid View

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Oct 2005
    Location
    Singapore
    Posts
    99

    Re: Piecework Visual Basic 6.0

    But how do i calculate The dollar amount earned ?



    Now the summary button to display the total number of pieces the total pay and the average pay per person

    How do i do that ?

  2. #2
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,132

    Re: Piecework Visual Basic 6.0

    Quote Originally Posted by Franklin67
    But how do i calculate The dollar amount earned ?
    Just multiply values from two textboxes - isn't that a simple math?
    VB Code:
    1. txtTotal.Text = Format(CLng(Text1.Text) * CCur(Text1.Text), "$0.00")
    In the sample above Text1 textbox represents "Pieces Completed" and Text2 - "Price Paid per Piece"

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