Moritz Post
11/29/2021, 10:45 AMCharacter.getNumericValue()
? It would be useful in kmp but i can't seem to find one.Joffrey
11/29/2021, 10:47 AM\u216C
, while Java's method does. If you only need digits in the 0-9
range (or a-z
range in bases > 10), then digitToInt
should be enoughMoritz Post
11/29/2021, 10:55 AMdigitToInt
works for numbers only. the getNumericValues actually returns the full width number for A-Z which i am looking for. so A
is 10
etc...Ties
11/29/2021, 11:30 AMMoritz Post
11/29/2021, 11:32 AMTies
11/29/2021, 11:35 AMMoritz Post
11/29/2021, 11:38 AMilya.gorbunov
11/29/2021, 12:39 PMdigitToInt works for numbers only. the getNumericValues actually returns the full width number for A-Z which i am looking for. so A is 10 etc...You need to specify
radix
parameter > 10 to work with digits A-Z.