I am trying to convert a double to a long using:
CLng(test)
However, when I run it I get an overflow error. The reason I need to convert 'test' to a long is because I want to use the And operator in the following way:
truth = (test and &H1F)
Where truth is a long. Any suggestions?
CLng(test)
However, when I run it I get an overflow error. The reason I need to convert 'test' to a long is because I want to use the And operator in the following way:
truth = (test and &H1F)
Where truth is a long. Any suggestions?