Shop OBEX P1 Docs P2 Docs Learn Events
Float number as constant? — Parallax Forums

Float number as constant?

lardomlardom Posts: 1,659
edited 2010-12-23 09:10 in General Discussion
Is "Floatmath" required to write a decimal number in the CON block? I want to write "2pi = 6.283186" and eliminate a method call. Would all CON numbers then also have to be float?

Comments

  • lardomlardom Posts: 1,659
    edited 2010-12-23 09:10
    OK! I admit I like the dialogue. I went back and typed "twopye = 6.283186" and pressed F9. I did find out that "2pi" is not allowed.
Sign In or Register to comment.