I am trying to round the answer to this code to 2 decimal places. I have tried a bunch of methods and none of them work for me. Please help!
import Foundation
var yen: Double = 10
var krona: Double = 10
var rupee: Double = 10
var totalMoney: Double
var yenRate = 0.0088
var kronaRate = 0.116
var rupeeRate = 0.013
totalMoney = yenRate*yen + kronaRate*krona + rupeeRate*rupeeRate
print("The total of all currencies is equal to \(totalMoney) in USD.")