title: Modulus In VB 6.0
body: <p>I want to ask about how modulus does not work for me.</p>
  
  <p>For example:</p>
  
  <pre><code> Option Explicit
  
   Private Function Modulus_Operator(Value1, Value2)
  
       Modulus_Operator = Value1 - (Int(Value1 / Value2) * Value2)
  
   End Function
  
   Private Sub Form_Activate()
  
       Dim A, B, BaseOut as double
  
       A = 67^89
       BaseOut = 35
  
       text1.text =  Modulus_Operator(A, BaseOut)
  
   End Sub
  </code></pre>