Number of digit in the decimal part
VB: Property Get/Let Digits As Integer
C++: int Digits
C#: int Digits
Sub Digits() Dim app As Origin.IOApplication Dim wks As Origin.Worksheet 'you may set the column data format as numeric and digits as Set Decimal Places=5 'the message box will output 5 app = New Origin.ApplicationSI wks = app.FindWorksheet("") 'get active worksheet If wks Is Nothing Then MsgBox("Can not get active worksheet") Exit Sub End If Dim digits As Integer digits = wks.Columns(0).Digits MsgBox(digits) End Sub
8.0SR2