Returns the least integer greater than or equal to a number.
Math.ceil(number)
number is any numeric expressidocument.write("The character at index 0 is " + anyString.charAt(0))document.write("The character at index 1 is " + anyString.charAt(1))document.write("The character at index 2 is " + anyString.charAt(2))document.write("The character at index 3 is " + anyString.charAt(3))document.write("The character at index 4 is " + anyString.charAt(4))
A checkbox NAME="checkboxName" VALUE="http://www.dedecms.com/web-art/htmlbase/Javascript/20020827/checkboxValue" [CHECKED] []> textToDisplayNAME="checkboxName" specifies the name of the checkbox object. You can access this value using the name property.
VALUE="http://www.dedecms.com/web-art/htmlbase/Javascript/20020827/checkboxValue" specifies a value that is returned to the server when the checkbox is selected and the form is submitted. This defaults to ") { checkedButt VALUE="http://www.dedecms.com/web-art/htmlbase/Javascript/20020827/Quit" >
String value of a cookie, which is a small piece of informati@= Returns the cosine of a number. number is a numeric expression representing the size of an angle in radians, or a property of an existing object. Math The cos method returns a numeric value between -1 and 1, which represents the cosine of the angle. See also
cos method
语法
Math.cos(number)
用法
描述
例子
//Displays the value 6.123031769111886e-017document.write("The cosine of PI/2 radians is " + Math.cos(Math.PI/2))//Displays the value -1document.write("<P>The cosine of PI radians is " + Math.cos(Math.PI))//Displays the value 1document.write("<P>The cosine of 0 radians is " + Math.cos(0))
See also
欢迎您访问www.5ucms.org
上一篇:5ucms仿站,javascript手冊-d 下一篇:5ucms帮助如何显示年月日及星期问题 |
|
本站声明:本网站所载文章等内容,目的在于传递更多信息,并不代表本网赞同其观点和对其真实性负责。如涉及作品内容、版权及其它问题,请在30日内与本网联系(Email:3876307#qq.com),我们将在第一时间删除内容。若原创内容转载请注明出处。 5ucms培训,javascript手冊-c的关键词: |