devxlogo

Obtain a Regional Decimal Character without an API

Obtain a Regional Decimal Character without an API

Use this function to read a number decimal symbol from regional settings:

 Sub Form_Load()Dim DecS As StringDecS = ReadDecimalSymbol()End SubFunction ReadDecimalSymbol() As StringReadDecimalSymbol = Mid$(CStr(1.1), 2, 1)End Function

devx-admin

Share the Post: