mutating func round(_ rule: FloatingPointRoundingRule ) ... y == 7.0 // Equivalent to the C 'floor' function: var z = 6.5 z.round(.down) // z == 6.0.
確定! 回上一頁