📄 mathematical functions.frm
字号:
VERSION 5.00
Begin VB.Form Form14
BackColor = &H00808080&
Caption = "Form15"
ClientHeight = 5325
ClientLeft = 60
ClientTop = 450
ClientWidth = 8295
BeginProperty Font
Name = "Comic Sans MS"
Size = 14.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FFFFFF&
LinkTopic = "Form15"
ScaleHeight = 5325
ScaleWidth = 8295
StartUpPosition = 3 'Windows Default
WindowState = 2 'Maximized
Begin VB.CommandButton Command1
Caption = "DONE"
BeginProperty Font
Name = "Monotype Corsiva"
Size = 11.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
Height = 1215
Left = 3960
TabIndex = 0
Top = 2160
Width = 2895
End
End
Attribute VB_Name = "Form14"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Print "INT " & Int(45.55)
Print "FIX " & Fix(45.55)
Print "CINT " & CInt(14.6)
Print "CINT " & CInt(14.1)
Print "CINT " & CInt(-14.5)
Print "SGN " & Sgn(12)
Print "SGN " & Sgn(-12)
Print "VAL " & Val("12 a")
Print "VAL " & Val("123525")
Print "FORMAT(8315.4,'00000.00 ') " & Format(8315.4, "00000.00 ")
Print "FORMAT(8315.4,'#####.## ') " & Format(8315.4, "#####.## ")
Print "FORMAT(8315.4,'##,###.## ') " & Format(8315.4, "##,###.## ")
Print "FORMAT(315.4,'$###0.00 ') " & Format(315.4, "$###0.00 ")
Print Abs(-15.66)
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -