Re: [問題] 請問一個最基本的問題
※ 引述《Kanizyrus (又要重來一次了嗎)》之銘言:
: 請問如何將String轉換格式成int或是其他數字格式?
: 查了sun網站上的API仍然不果
: 望有人能指點迷津一下
: 謝謝!
Integer.parseInt(String i)
Double.parseDouble(String i)
.
.
.
API是王道
--
local
--
String temp="relax"; | Life just like programing
while(buringlife) String.forgot(temp); | to be right or wrong
while(sleeping) brain.setMemoryOut(); | need not to say
stack.push(life.running); | the complier will
stack.push(scouting.buck()); | answer your life
stack.push(bowling.practice()); | Bone everything
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 220.134.27.68
討論串 (同標題文章)