Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.
Become a Premium Member and unlock a new, free course in leading technologies each month.
Dim myDenominator As Decimal = (CDec(Math.Round(row("TotQty"), 2)) + CDec(Math.Round(row("DelQty"), 2)))
If (myDenominator <> 0) Then
Dim newStdCost As Decimal = (((CDec(Math.Round(row("TotQty"), 2)) * CDec(Math.Round(row("StdCost"), 2))) + (CDec(Math.Round(row("DelQty"), 2)) * CDec(Math.Round(row("DelCost"), 2))))) / myDenominator
End If
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
If you are experiencing a similar issue, please ask a related question
Title | # Comments | Views | Activity |
---|---|---|---|
VB.NET Inline If statement | 4 | 54 | |
Intermittent OleDbConnection Error | 20 | 52 | |
Display Day name if condition is true in crystal report (VB.Net) | 2 | 35 | |
VB .net 2010 Byte array | 2 | 21 |
Join the community of 500,000 technology professionals and ask your questions.