CSingle

ページ名:CSingle
  • CSingle

Result = CSingle ( Expression AS Variant ) AS Single

式をSingle

Be careful! The current localization is not used by this function.

浮動小数点数に変換します。

Errors

Message

Description
Type mismatch (6) Expression cannot be converted.

Examples

Print CSingle("+3.1416")
3.1416

 

Print CSingle("1.0E+3")
1000

 

Print CSingle(Pi);; CFloat(Pi)
3.141592741013 3.14159265359

 

Print CSingle(1E50)
Overflow

See also

 

シェアボタン: このページをSNSに投稿するのに便利です。

コメント

返信元返信をやめる

※ 悪質なユーザーの書き込みは制限します。

最新を表示する

NG表示方式

NGID一覧