For this instance of three digit number, you
could do something like this:
dim a As Decimal = Decimal.Floor(input / 100) *
100
For a more generic approach, you could have
something like this
public function MyFloor(input as decimal) as
decimal
dim places as integer =
Convert.ToInt32(input).ToString().Length;
Return Decimal.Floor(input /
(10 ^ places)) * (10 ^ places))
end function
The last part just solely depends on your
requirements.