Десятичное в двойное преобразование в Swift
let someDouble = Double(truncating: someDecimal as NSNumber)
Mobile Star
let someDouble = Double(truncating: someDecimal as NSNumber)