Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Type Conversion

この記事はまだボランティアによって 日本語 に翻訳されていません。ぜひ MDN に参加して翻訳を手伝ってください!

Type conversion (or typecasting) means transfer of data from one data type to another. Implicit conversion happens when the compiler automatically assigns data types, but the source code can also explicitly require a conversion to take place.  Simple examples: given the instruction 5+2.0, the integer 5 is implicitly typecasted into floating point, but given the instruction Number("0x11"), the string "0x11" is explicitly typecasted as the number 17.

Learn more

General knowledge

ドキュメントのタグと貢献者

 このページの貢献者: hbloomer, Andrew_Pfeiffer, klez, ajinkya_p
 最終更新者: hbloomer,