User Profile
Collapse
-
Thank you very much. -
Sorry Rabbit, you are right: vb6's Log function uses e base!
Thank you for the answer, but is there a way to get the right result?Leave a comment:
-
Log(iContatore) gives me 1 and also Log(10). So if I write
nCifre=Log(iCon tatore)/Log(10) I get 1!Leave a comment:
-
The VB6's INT function has a strange behavior
Dim iContatore As Integer
Dim nCifre As Integer
iContatore = 10
nCifre = Int(Log(iContat ore) / Log(10))
Debug.Print nCifre
It gives me '0' instead of '1'. WHY??
No activity results to display
Show More
Leave a comment: