You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior should be that also 1500.0 even 1500 should be seen as a float and therefor not return the default value. One would expect that only non numerical values would return -1 in this example.
The text was updated successfully, but these errors were encountered:
Since i upgraded the package to 0.3.0 from 0.1.1 i have noticed that the behavior of the float conversion have changed. An example:
Output:
Go playground: https://play.golang.org/p/BU-r9HkEZHE
Expected behavior should be that also
1500.0
even1500
should be seen as a float and therefor not return the default value. One would expect that only non numerical values would return-1
in this example.The text was updated successfully, but these errors were encountered: