Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't define floats with exponent signs #31

Closed
mmindenhall opened this issue May 5, 2016 · 0 comments
Closed

Can't define floats with exponent signs #31

mmindenhall opened this issue May 5, 2016 · 0 comments

Comments

@mmindenhall
Copy link
Contributor

When defining a float, the exponent sign cannot be used. For example:

#!anko

# ok
f = 1.325e12
println(typeOf(f))
println(f)

# fail
f = 1.325e+12
println(typeOf(f))
println(f)

# fail
f = 1.325e-12
println(typeOf(f))
println(f)
@mattn mattn closed this as completed in ef60867 May 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant