Also please share how to cast the input value to integer?
I tried
String.to_integer
and Integer.parse!
, but they don’t seem to work at the moment.
Also please share how to cast the input value to integer?
I tried
String.to_integer
and Integer.parse!
, but they don’t seem to work at the moment.
Thanks for reporting, there’s an Erlang function that hasn’t been ported to JS, you’ll have a fix for this today
@sreyansjain Branch enhancement-236-erlang-binary-to-integer-1
has :erlang.binary_to_integer/1
JS port implemented which should make String.to_integer/1
work correctly.