betoglez / swiftcomplexnumbercalculator Goto Github PK
View Code? Open in Web Editor NEWBasic complex number calculator for add, substract, multiply and divide operations. Also converts from cartesian to polar and the other way around using computed properties, all the operations are executed taking a polar number given in the constructor and using a second operand number passed as a parameter for each operation.