Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
1文字列として「1」があり、それを整数として10進数に変換したいと思います。
1
を試しcharAt()ましたが、1 つの整数ではなく 49 が返されます。
charAt()
では、文字列「1」を 1 つの整数に変換するには何が必要でしょうか?