0
有人可以幫助我理解VB代碼。 我必須編寫相應的Java代碼。但我無法理解VB代碼。這是關於修改區域設置。如何在Java中編寫區域設置代碼
Dim sTemp As String
mstrDecimalSepChar = OS_GetRegionalSetting(DecimalSeparator)
OS_SetRegionalSetting DecimalSeparator, "."
sTemp = OS_GetRegionalSetting(DecimalSeparator)
mstrThousandsSepChar = OS_GetRegionalSetting(ThousandsSeparator)
OS_SetRegionalSetting ThousandsSeparator, ","
sTemp = sTemp & OS_GetRegionalSetting(ThousandsSeparator)
SetRegionalSettings = (sTemp = ".,")
如果你想獲得VB專家的意見,我想,你應該標記用vb標籤這個問題 –