1 / 8

公共函数:由系统提供,可在任何一个 VB 程序中使用。

* 函数调用形式: < 函数名 >( 参量 1 ,参量 2 , …) 如 sin(x). 公共函数:由系统提供,可在任何一个 VB 程序中使用。. 一 . 算术函数:. 二 . 字符函数:. 二 . 字符函数:. 三 . 转换函数:. VAL(A$): 将字符串 A$ 转换成数值。 例: VAL(“1234”)= 1234 VAL(“-12AB1234”)=-12 VAL(“A12B345”)=0 STR$(N): 将数值 N 转换成字符串。 ( 注:正数前的符号位别忘了! )

aaralyn
Download Presentation

公共函数:由系统提供,可在任何一个 VB 程序中使用。

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. * 函数调用形式: <函数名>(参量1,参量2,…) 如 sin(x) 公共函数:由系统提供,可在任何一个VB程序中使用。

  2. 一. 算术函数:

  3. 二. 字符函数:

  4. 二. 字符函数:

  5. 三. 转换函数:

  6. VAL(A$):将字符串A$转换成数值。 例:VAL(“1234”)= 1234 VAL(“-12AB1234”)=-12 VAL(“A12B345”)=0 STR$(N):将数值N转换成字符串。 (注:正数前的符号位别忘了!) 例:STR$(123)=“ 123” LEN(STR$(123))=4

  7. 四. 日期与时间函数:

More Related