|hello again. I have a vbscript that will basically|
- take an input from another program which is a currency ($)
- as it is being taken by vbscript, the input will be tested if it is (price) the same as the supplied input
Upon running, I'm getting different results
Here's a part of my code:
price = iim1.iimGetLastExtract()
If price = "$4.95" Then
MsgBox "The data is equal"
MsgBox "This is the price" & price
My questions are:
1. How can I correctly declare a currency data in vbscript?
2. How will I compare it correctly to $4.95?
Again, any responses from you will be very much appreciated.