Link to home
Start Free TrialLog in
Avatar of Malinda Klein
Malinda Klein

asked on

How should I modify this code for a SSRS report?

I obtained this code from the internet but it gives integer results.  How do I modify it so it will compute to 2 decimal places?  I am dealing with dollars and cents.

Public Shared Value as Integer=0
  Public Shared Function GetValue(Item as Integer) as Integer
     value= value + Item
     return Item
  End Function
  Public Shared Function GetTotal()
     return value
  End Function
ASKER CERTIFIED SOLUTION
Avatar of Joshua Kinsel
Joshua Kinsel
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
If you want or any other format let me k now.
Avatar of Malinda Klein
Malinda Klein

ASKER

Perfect, thank you!