vue-formulate
vue-formulate copied to clipboard
Feature/ number validation is now available in type integer and float
Add feature #537
This feature can be used by adding second argument integer and float.
Thanks for the PR. what about the edge case:
const num = "1.0"
1 % num === 0
Technically its still a float, but would evaluate as false
Thanks for let me know the edge cases Justin! I wrote a few line of code which covers edge case.
Now 2.0 or 342.000 or something like that is treated as both integer and float.
Any updates on this ? It would be a very nice addition and expected as well !
Actually I don't know why this feature isn't merged or rejected, but just... just here. @justin-schroeder is there any updates?