From 4972deb36e4197705a57d2fd8e422554dfeb2d7d Mon Sep 17 00:00:00 2001
From: Michael Mclaughlin
Returns a BigNumber whose value is the square root of this BigNumber,
- rounded according to the current
+ correctly rounded according to the current
'0xff'
, are
+ invalid, and string values in octal literal form will be interpreted as
+ decimals, e.g. '011'
is interpreted as 11, not 9.
a-z
+ represents values from 10 to 35, A-Z
from 36 to 61, and
+ $
and _
represent 62 and 63 respectively
+ (this can be changed by ediiting the DIGITS variable near the top of the
+ source file).
@@ -650,7 +654,7 @@ y.neg() // '1.3'
DECIMAL_PLACES
and
ROUNDING_MODE
settings.
Returns a string representing the value of this BigNumber in the specified
- base, or base 10 if base
is omitted. Like
- Number.toString
, in bases above 10, numerals above 9 are
- represented by lower-case letters.
+ base, or base 10 if base
is omitted. For bases above 10,
+ values from 10 to 35 are represented by a-z
(as with
+ Number.toString
), 36 to 61 by A-Z
, and 62 and 63
+ by $
and _
respectively.
If a base is specified the value is rounded according to the current