반응형

Precondition

    Swift 요약 1

    Swift 요약 1

    참고 : https://docs.swift.org/swift-book/LanguageGuide/TheBasics.html Numeric Literals 정수 리터럴 let decimalInteger = 17 let binaryInteger = 0b10001 // 17 in binary notation let octalInteger = 0o21 // 17 in octal notation let hexadecimalInteger = 0x11 // 17 in hexadecimal notation 부동 소수점 리터럴 - 10진수는 접두사가 없고, 16진수일 때 0x 접두사, e로 표시되는 지수를 가질 수 있음 10진수 1.25e2 = 1.25 x 102, or 125.0. 1.25e-2 = 1.25 x 10-2..

반응형