VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Converting Fractional values to Two Decimal Places 'put two text boxes on the form and run the appl

by Nikita Shukla (2 Submissions)
Category: Miscellaneous
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Fri 22nd November 2002
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Converting Fractional values to Two Decimal Places 'put two text boxes on the form and run the application type this code in form_load event

API Declarations


dim total as string

Rate Converting Fractional values to Two Decimal Places 'put two text boxes on the form and run the appl



text1.text=str$(amt)
total=ccur(Format(amt,"#,##0.0))
text2.text=total


Download this snippet    Add to My Saved Code

Converting Fractional values to Two Decimal Places 'put two text boxes on the form and run the appl Comments

No comments have been posted about Converting Fractional values to Two Decimal Places 'put two text boxes on the form and run the appl. Why not be the first to post a comment about Converting Fractional values to Two Decimal Places 'put two text boxes on the form and run the appl.

Post your comment

Subject:
Message:
0/1000 characters