Monday, 21 September 2020

Scala: Convert integer to character

 

scala> 67.toChar
val res58: Char = C

scala> 65.toChar
val res59: Char = A

 

 

Previous                                                    Next                                                    Home

No comments:

Post a Comment