parsing numbers from strings

29 views
Skip to first unread message

Justin Bedő

unread,
Jan 16, 2020, 7:00:07 PM1/16/20
to kona...@googlegroups.com

hi,

i am having difficulty figuring out how to parse numbers from a string
in kona. the following doesn't seem to work:

"I"$"42"
"42"
"F"$"42.0"
"42.0"

the following works for ints but not floats:

0$"42"
42
0$"42.0"
domain error
0$"42.0"

any guidence would be much appreciated.

justin

Justin Bedő

unread,
Jan 17, 2020, 1:26:38 AM1/17/20
to kona...@googlegroups.com
Nvm just found the wiki entry on $.
Reply all
Reply to author
Forward
0 new messages