I have the following block of code:
Private Sub CalculatePreQualifyingMoneyPayoutBelowFirstPlace(ByVal Position As Integer)
BasePayout = GetBaseAmount(Position)
MultiplicationOfBasePayoutAndPurseRemainder = BasePayout * PurseRemainder
AdditionalPayout = MultiplicationOfBasePayoutAndPurseRemainder / QualifyingMoneyTotal
AdditionalPayout = Math.Round(AdditionalPayout)
Now, it should round to the value of AdditionalPayout up, but how do I do it to the nearest hundred? Now, this doesn't mean the nearest hundredth, it means to the nearest 100.
Assume the following
Dim BasePayout, PurseRemainder, MultiplicationOfBasePayoutAndPurseRemainder, AdditionalPayout, QualifyingMoneyTotal as Decimal
BasePayout = 9000
PurseRemainder = 112000
QualifyingMoneyTotal = 480000
I want AdditionalPayout to equal 2300, not 2250 as the calculation, without the rounding, would total.
Thanks in advance!