Movatterモバイル変換


[0]ホーム

URL:


Scala 3
3.7.4
LearnInstallPlaygroundFind A LibraryCommunityBlog
Scala 3
LearnInstallPlaygroundFind A LibraryCommunityBlog
DocsAPI
Generated with
Copyright (c) 2002-2025, LAMP/EPFL
Copyright (c) 2002-2025, LAMP/EPFL
Scala 3/scala/scala.util/FromDigits/BigIntFromDigits

BigIntFromDigits

scala.util.FromDigits.BigIntFromDigits

Attributes

Source
FromDigits.scala
Graph
Supertypes
classObject
traitMatchable
classAny
Self type

Members list

Value members

Concrete methods

deffromDigits(digits:String,radix:Int):BigInt

Convert digits string with given radix to number of typeT. E.g. if radix is 16, digitsa..f andA..F are also allowed.

Convert digits string with given radix to number of typeT. E.g. if radix is 16, digitsa..f andA..F are also allowed.

Attributes

Source
FromDigits.scala

Inherited methods

Convertdigits string to value of typeTdigits can contain

Convertdigits string to value of typeTdigits can contain

  • sign+ or-
  • sequence of digits between 0 and 9

Attributes

Throws
MalformedNumber

if digit string is not legal for the given type

NumberTooLarge

if value of result does not fit intoT's range

NumberTooSmall

in case of numeric underflow (e.g. a non-zero floating point literal that produces a zero value)

Inherited from:
WithRadix
Source
FromDigits.scala
In this article
Generated with
Copyright (c) 2002-2025, LAMP/EPFL
Copyright (c) 2002-2025, LAMP/EPFL

[8]ページ先頭

©2009-2025 Movatter.jp