No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
2 Posted Topics
Hello! i need some help, i just want to round off my textbox value into two decimal places, here is my code Private Sub txtMonthly_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles txtMonthly.TextChanged, txtSemi.TextChanged If String.IsNullOrEmpty(txtMonthly.Text) OrElse String.IsNullOrEmpty(txtSemi.Text) Then Exit Sub If Not IsNumeric(txtMonthly.Text) OrElse Not IsNumeric(txtSemi.Text) Then Exit … | |
i need to format my textbox result into two decimal places after i divide two textbox here is my code. If String.IsNullOrEmpty(txtMonthly.Text) OrElse String.IsNullOrEmpty(txtdr.Text) Then Exit Sub If Not IsNumeric(txtMonthly.Text) OrElse Not IsNumeric(txtdr.Text) Then Exit Sub txtDaily.Text = CDbl(txtMonthly.Text) / CDbl(txtdr.Text) Thanks in Advance |
The End.