⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 number.html

📁 ajax开发框架prototype中文说明帮助
💻 HTML
📖 第 1 页 / 共 2 页
字号:

<!-- ============ FIELD DETAIL =========== -->

<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>字段详细信息</B></FONT></TH>
</TR>
</TABLE>

<A NAME="prototype"><!-- --></A><H3>
prototype</H3>
<PRE>
public static <A HREF="../../../net/conic/prototype/JSClass.html" title="net.conic.prototype 中的接口">JSClass</A> <B>prototype</B></PRE>
<DL>
<DD>返回JS类型原型的引用,每个JS的类对象都自动内部绑定此属性
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="constructor"><!-- --></A><H3>
constructor</H3>
<PRE>
public static <A HREF="../../../net/conic/prototype/Object.html" title="net.conic.prototype 中的类">Object</A> <B>constructor</B></PRE>
<DL>
<DD>JS中类型实例的构造方法的引用,每个JS的类对象都自动内部绑定此属性
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="MAX_VALUE"><!-- --></A><H3>
MAX_VALUE</H3>
<PRE>
public static <A HREF="../../../net/conic/prototype/Number.html" title="net.conic.prototype 中的类">Number</A> <B>MAX_VALUE</B></PRE>
<DL>
<DD>返回JS能表达的最大的数。约等于 1.79E+308。
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="MIN_VALUE"><!-- --></A><H3>
MIN_VALUE</H3>
<PRE>
public static <A HREF="../../../net/conic/prototype/Number.html" title="net.conic.prototype 中的类">Number</A> <B>MIN_VALUE</B></PRE>
<DL>
<DD>返回 JScript 中能够表示的最接近零的数。约等于 2.22E-308。
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="NaN"><!-- --></A><H3>
NaN</H3>
<PRE>
public static <A HREF="../../../net/conic/prototype/Number.html" title="net.conic.prototype 中的类">Number</A> <B>NaN</B></PRE>
<DL>
<DD>表示算术表达式返回非数字值的特殊值。 <p>NaN 不与任何值相等,包括其本身。要检测值是否为 NaN,请使用 isNaN 函数。
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="NEGATIVE_INFINITY"><!-- --></A><H3>
NEGATIVE_INFINITY</H3>
<PRE>
public static <A HREF="../../../net/conic/prototype/Number.html" title="net.conic.prototype 中的类">Number</A> <B>NEGATIVE_INFINITY</B></PRE>
<DL>
<DD>返回比 JScript 能够表示的最小负数(-Number.MAX_VALUE)更小的值。 <p>JScript 将 NEGATIVE_INFINITY 值显示为 -infinity。该值数学上的作用与负无穷相同。
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="POSITIVE_INFINITY"><!-- --></A><H3>
POSITIVE_INFINITY</H3>
<PRE>
public static <A HREF="../../../net/conic/prototype/Number.html" title="net.conic.prototype 中的类">Number</A> <B>POSITIVE_INFINITY</B></PRE>
<DL>
<DD>返回比在 JScript 中能够表示的最大的数 (Number.MAX_VALUE) 更大的值。 <p>JScript 将 POSITIVE_INFINITY 值显示为 infinity。该值数学上的作用与正无穷相同。
<P>
<DL>
</DL>
</DL>

<!-- ========= CONSTRUCTOR DETAIL ======== -->

<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>构造函数详细信息</B></FONT></TH>
</TR>
</TABLE>

<A NAME="Number()"><!-- --></A><H3>
Number</H3>
<PRE>
public <B>Number</B>()</PRE>
<DL>
</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>方法详细信息</B></FONT></TH>
</TR>
</TABLE>

<A NAME="toColorPart()"><!-- --></A><H3>
toColorPart</H3>
<PRE>
public <A HREF="../../../net/conic/prototype/String.html" title="net.conic.prototype 中的类">String</A> <B>toColorPart</B>()</PRE>
<DL>
<DD>等同于toString(16),将数值类型以十六进制的字符串形式返回
<P>
<DD><DL>

<DT><B>返回:</B><DD>String 返回用数值转换后的十六进制的字符串 <p><b>Example:</b></p><pre>//主要是用在以十六进制的方式取颜色值var R = G = B = 255;alert(R.toColorPart() + G.toColorPart() + B.toColorPart());</pre></DL>
</DD>
</DL>
<HR>

<A NAME="succ()"><!-- --></A><H3>
succ</H3>
<PRE>
public <A HREF="../../../net/conic/prototype/Number.html" title="net.conic.prototype 中的类">Number</A> <B>succ</B>()</PRE>
<DL>
<DD>将数值递增+1后返回
<P>
<DD><DL>

<DT><B>返回:</B><DD>返回当前数值+1后的值</DL>
</DD>
</DL>
<HR>

<A NAME="times(net.conic.prototype.Iterator)"><!-- --></A><H3>
times</H3>
<PRE>
public <A HREF="../../../net/conic/prototype/Number.html" title="net.conic.prototype 中的类">Number</A> <B>times</B>(<A HREF="../../../net/conic/prototype/Iterator.html" title="net.conic.prototype 中的类">Iterator</A>&nbsp;iterator)</PRE>
<DL>
<DD>从0开始一直到当前数值对象做枚举迭代操作
<P>
<DD><DL>

<DT><B>返回:</B><DD>返回自身的数值 <p><b>Example:</b></p><pre>var result = "";var num = 5;//5document.write(num.times(iterator) + "&lt;br>");function iterator(value,index){        result += " value: " + value + "," + " index:" + index + ";";}//value: 0, index:0; value: 1, index:1; value: 2, index:2; value: 3, index:3; value: 4, index:4;document.write(result);</pre></DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>


<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="跳过导航链接"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>概述</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>软件包</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>类</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/Number.html"><FONT CLASS="NavBarFont1"><B>使用</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>树</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>已过时</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>索引</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>帮助</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../net/conic/prototype/Math.html" title="net.conic.prototype 中的类"><B>上一个类</B></A>&nbsp;
&nbsp;<A HREF="../../../net/conic/prototype/Object.html" title="net.conic.prototype 中的类"><B>下一个类</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../index.html?net/conic/prototype/Number.html" target="_top"><B>框架</B></A>  &nbsp;
&nbsp;<A HREF="Number.html" target="_top"><B>无框架</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>所有类</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../allclasses-noframe.html"><B>所有类</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  摘要:&nbsp;嵌套&nbsp;|&nbsp;<A HREF="#field_summary">字段</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">构造函数</A>&nbsp;|&nbsp;<A HREF="#method_summary">方法</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
详细信息:&nbsp;<A HREF="#field_detail">字段</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">构造函数</A>&nbsp;|&nbsp;<A HREF="#method_detail">方法</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>

</BODY>
</HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -