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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
If you want or any other format let me k now.
ASKER
Perfect, thank you!