Multiplies a string representation of a number by a given exponent of base 10 (10exponent).
Optional
A BigInt number
scale('112', 18) // 112000000000000000000nscale(112, 18) // 112000000000000000000nscale(112.5632, 0) // 113nscale(112.5632, 0, true) // 112n Copy
scale('112', 18) // 112000000000000000000nscale(112, 18) // 112000000000000000000nscale(112.5632, 0) // 113nscale(112.5632, 0, true) // 112n
Multiplies a string representation of a number by a given exponent of base 10 (10exponent).