Rather than creating your own class to return or having a ByRef parameter for the function I would advise you to split it into 2 functions. Each method should have a single responsibility.

vb.net Code:
  1. Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
  2.         Const sqFt = 1000
  3.         Dim gal = Gallons(sqFt)
  4.         Dim cost = RoomPaintCost(gal, 19.95)
  5.     End Sub
  6.  
  7.     Private Shared Function Gallons(squareFeet As Integer) As Decimal
  8.         Return Math.Ceiling(squareFeet / 115)
  9.     End Function
  10.  
  11.     Private Shared Function RoomPaintCost(gallons As Decimal, paintCost As Decimal) As Decimal
  12.         Return gallons * paintCost
  13.     End Function