Menu

#53 string to number conversion

open
nobody
5
2004-08-23
2004-08-23
No

string.as-number and string.is-number are currently limited to only
decimal integers within the 32-bit signed int range. They should
support a wider variety of numbers including floating point.

Further, they should have optional arguments that support other
bases, and base-prefixes.

Questions? Trim white-space option? Ignore trailing non-digits?
Support prefix chars like '$' and '+'? Ignore embedded spaces?
Support embedded comma?

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.