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

Introducing a float type? #375

Closed
jpetitcolas opened this issue Mar 27, 2015 · 2 comments
Closed

Introducing a float type? #375

jpetitcolas opened this issue Mar 27, 2015 · 2 comments
Assignees
Labels

Comments

@jpetitcolas
Copy link
Contributor

We often have to customize the number type to be able to deal with float numbers, using something similar to:

nga.field('float_attribute', 'number').attributes({ step: 'any' }).format('0.000');

What about offering a float type out of the box, including the previous configuration?

@fzaninotto
Copy link
Member

Great idea, and quite easy to achieve.

@jpetitcolas
Copy link
Contributor Author

PR merged. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants