作者TonyQ (骨头)
站内java
标题Re: [问题] 请问一个最基本的问题
时间Sun Jan 28 17:10:29 2007
※ 引述《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