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