decimal to double swift code example Example: Decimal to Double conversion in Swift let someDouble = Double(truncating: someDecimal as NSNumber)