File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -277,11 +277,11 @@ open class UnitAngle : Dimension {
277
277
278
278
private struct Coefficient {
279
279
static let degrees = 1.0
280
- static let arcMinutes = 0.016667
281
- static let arcSeconds = 0.00027778
282
- static let radians = 57.2958
280
+ static let arcMinutes = 1.0 / 60.0
281
+ static let arcSeconds = 1.0 / 3600.0
282
+ static let radians = 180.0 / . pi
283
283
static let gradians = 0.9
284
- static let revolutions = 6.28319
284
+ static let revolutions = 360.0
285
285
}
286
286
287
287
private init ( symbol: String , coefficient: Double ) {
@@ -816,11 +816,11 @@ open class UnitElectricResistance : Dimension {
816
816
*/
817
817
818
818
private struct Symbol {
819
- static let megaohms = " MΩ "
820
- static let kiloohms = " kΩ "
821
- static let ohms = " Ω "
822
- static let milliohms = " mΩ "
823
- static let microohms = " µΩ "
819
+ static let megaohms = " MΩ "
820
+ static let kiloohms = " kΩ "
821
+ static let ohms = " Ω "
822
+ static let milliohms = " mΩ "
823
+ static let microohms = " µΩ "
824
824
}
825
825
826
826
private struct Coefficient {
You can’t perform that action at this time.
0 commit comments