0

How to convert complex to float or decimal

I need it for triangle quest for turtle drawing

2nd Nov 2018, 4:34 PM
Jeroen Huijsen
Jeroen Huijsen - avatar
3 Antworten
+ 5
Jeroen Huijsen that's not a complex number but a scientific annotation, which means *10^17
3rd Nov 2018, 2:53 AM
Flandre Scarlet
Flandre Scarlet - avatar
+ 1
I'm not sure what you mean. Floats/decimal are real numbers, and a complex number need not be so. Could you give an example? Say you have the complex number 2+3j. What is your expected float representation?
2nd Nov 2018, 6:35 PM
Kishalaya Saha
Kishalaya Saha - avatar
0
I had numbers like 3.4567889432245e17, but I need 3.456 for turtle. Turtle blocks with complex numbers
2nd Nov 2018, 6:41 PM
Jeroen Huijsen
Jeroen Huijsen - avatar