var v = 0.5;
switch v{
case 0...1:
println("0...1");
default:
println("区间外");
}
原文链接:https://www.f2er.com/swift/326851.htmlvar v = 0.5;
switch v{
case 0...1:
println("0...1");
default:
println("区间外");
}
原文链接:https://www.f2er.com/swift/326851.html