Jump to content

Names to numbers: Difference between revisions

m
m (→‎{{header|Perl}}: future-proof for 5.36, 'use utf8')
m (→‎{{header|Wren}}: Minor tidy)
 
Line 2,538:
{{libheader|Wren-fmt}}
Wren's built in Num type can only deal accurately with integers up to 16 digits long (plus or minus 2 ^ 53) so without resorting to BigInt (which would be overkill here) we can only deal with numbers up to nine quadrillion or so.
<syntaxhighlight lang="ecmascriptwren">import "./str" for Str
import "./pattern" for Pattern
import "./fmt" for Fmt
var names = {
"one": 1,
9,490

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.