1 / 5

InputBox 関数の使用例

InputBox 関数の使用例. 変数= InputBox( 引数 ). 単精度浮動小数点数型. 戻り値は文字列型. InputBox 関数+ CSng 関数の 使用例. 変数= CSng ( InputBox ( 引数 ) ). 単精度浮動小数点数型. 戻り値は文字列型. 単精度浮動小数点数型に変換. Val( 文字列 ). 文字列が半角の数字の場合  数値に変換 文字列が半角の数値以外の文字列の場合 0 の数値に変換 文字列が空の場合 0 の数値に変換. InputBox 関数+ Val 関数の 使用例.

nigel-horn
Download Presentation

InputBox 関数の使用例

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. InputBox関数の使用例 変数=InputBox(引数) 単精度浮動小数点数型 戻り値は文字列型

  2. InputBox関数+CSng関数の使用例 変数=CSng ( InputBox (引数) ) 単精度浮動小数点数型 戻り値は文字列型 単精度浮動小数点数型に変換

  3. Val(文字列) • 文字列が半角の数字の場合  数値に変換 • 文字列が半角の数値以外の文字列の場合 0の数値に変換 • 文字列が空の場合 0の数値に変換

  4. InputBox関数+Val関数の使用例 変数=Val ( InputBox (引数) ) 単精度浮動小数点数型 戻り値は文字列型 数値に変換

  5. Str(数値) • 数値を文字列の数字に変換 • プラスの数値の場合先頭に、プラスの記号をあらわすスペースが入る CStr(数値) • 数値を文字列の数字に変換 • プラスの数値の場合先頭に、プラスの記号をあらわすスペースが入らない

More Related