Login | Register   
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Visual Basic
Expertise: Beginner
Dec 7, 2001

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 String
DecS = ReadDecimalSymbol()
End Sub
Function ReadDecimalSymbol() As String
ReadDecimalSymbol = Mid$(CStr(1.1), 2, 1)
End Function
Gianfranco Callino
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap