|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Can anyone help? I am defining a string as currency, and then putting it out to a message box, but it still displays incorrectly (£2.5 instead of £2.50 etc).
I think it may be that I run sql which selects a column into a string and then I set my currency string equal to the sql string. E.g. dim strcost as currency "select [cost] as sqlcost from......." strcost = rst!sqlcost Any ideas on how I can get this to work? |
|
#2
|
|||
|
|||
|
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
![]() |
| Viewing: ASP Free Forums > Programming > Visual Basic Programming > Dim string as currency |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|