Forum Discussion
jayaleck
11 hours agoNew Contributor III
try this -
Private Sub OnEvalDataBuffer(ByVal api As FinanceRulesApi, ByVal evalName As String, ByVal eventArgs As EvalDataBufferEventArgs)
Dim resultCells As New Dictionary(Of DataBufferCellPk, DataBufferCell)
For Each kvp As KeyValuePair(Of DataBufferCellPk, DataBufferCell) In eventArgs.DataBufferResult.DataBufferCells
Dim resultCell As DataBufferCell = kvp.Value
If resultCell IsNot Nothing Then
resultCell.CellAmount = Math.Round(resultCell.CellAmount, 2)
End If
Next
End Sub
Related Content
- 4 years ago
- 1 year ago
- 6 months ago
- 1 year ago