I would like to take lebelText and divide it by 2. Then reconvert the result to a String so it can be displayed in viewdidload. lebelText is being segued.
import UIKit
class restultViewController: UIViewController {
@IBOutlet var dxe: UILabel!
var LebelText = String()
override func viewDidLoad() {
super.viewDidLoad()
dxe.text = LebelText
}
override func didReceiveMemoryWarning() {
super.didReceiveMemoryWarning()
// Dispose of any resources that can be recreated.
}}