cq icon indicating copy to clipboard operation
cq copied to clipboard

I can't convert strings to numbers

Open pedromanoel opened this issue 9 months ago • 1 comments

I would like to parse a string into a number, but none of the parsing functions from Java are available, such as Integer/parseInt.

pedromanoel avatar Mar 08 '25 02:03 pedromanoel

Thanks for the issue - I've ran into this as well before - I've found using read-string useful, but I'm not sure about the security implications if it's untrusted data

In general it would be a good idea to support this in a neater way though!

markus-wa avatar Mar 13 '25 20:03 markus-wa