Re: [Greenfoot] 鞊⊥�

0 views
Skip to first unread message

pingfeng

unread,
Mar 20, 2013, 10:32:16 PM3/20/13
to GreenfootTaiwan
再問一個笨問題

Help  menu  下面第4個
java  Library    Documention
並沒有索引可以搜尋

我想要找三角函數sin  con  tan
或絕對值函數,要怎麼找?



Call 吳秉鋒[skype id : wupingfeng
Get Skype and call 吳秉鋒 for free.

此信箱容量小
大型附件請轉寄 pingf...@gmail.com

依瑪貓

unread,
Mar 20, 2013, 11:39:46 PM3/20/13
to Greenfo...@googlegroups.com
於 2013年03月21日 10:32, pingfeng 提到:
> 再問一個笨問題
>
> Help menu 下面第4個
> java Library Documention
> 並沒有索引可以搜尋
>
> 我想要找三角函數sin con tan
> 或絕對值函數,要怎麼找?

用 java.lang.Math :
Math.sin()
Math.cos()
Math.sin()
http://docs.oracle.com/javase/6/docs/api/java/lang/Math.html
java.lang.* 的類別(包括 java.lang.String )都會自動 import ,
可以直接用,不需要 import java.lang.Math 。

>
>
>
>
> Get Skype and call 吳秉鋒 for free.
>
> 此信箱容量小
> 大型附件請轉寄 pingf...@gmail.com
>
>


--
依瑪貓 imacat ^_*' <ima...@mail.imacat.idv.tw>
PGP Key http://www.imacat.idv.tw/me/pgpkey.asc
旅舍依瑪 http://www.imacat.idv.tw/ 《女聲》電子報 http://www.wov.idv.tw/
台灣女子自由軟體工作小組 http://wofoss.blogspot.com/
OpenOffice http://www.openoffice.org/
EducOO/OOo4Kids台灣 http://www.educoo.tw/
Greenfoot 台灣社群 http://greenfoot.westart.tw/

signature.asc
Reply all
Reply to author
Forward
0 new messages