How do I remove ".0" from a Double when printing in Swift? – Ios swift
Below is my code.. I am doing 5 + 2 and I would like the output to be 7 but I am getting 7.0. Can someone please help me and tell me why var runningNumber:Double = 5 var currentValue:Double =…