Category talk:Wren-fmt: Difference between revisions
→Source code: Bug fix.
m (→Source code: Removed some surplus whitespace.) |
(→Source code: Bug fix.) |
||
Line 6:
// All possible digits.
static digits { "0123456789abcdefghijklmnopqrstuvwxyz" }
// All possible digits (upper case).
static upperDigits { "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ" }
// Maximum safe integer = 2^53 - 1.
Line 54 ⟶ 57:
}
var res = 0
var digs =
for (d in s) {
var ix = digs.indexOf(d)
|