📅  最后修改于: 2022-03-11 15:02:29.831000             🧑  作者: Mango
let deg = 45.0;
let rad = radians(deg);
print(deg + ' degrees is ' + rad + ' radians');
// Prints: 45 degrees is 0.7853981633974483 radians