gdzanko

12 years agoNew Contributor

# Rounding currency

I am new to SmartBear and need to round the decimal part of currency and am not sure how to do this in Visual Basic. If I use the round method it will round to the nearest whole number but that is not what I need. I need it to round just the decimal part of the number instead. For example 7.125 would need to be rounded to 7.13. How can I do this in Test Complete?