G
Guest
In previous versions of VB, changing a string of numerals to a number was easy. Val and convert.todecimal both change 32.75 to 32. What should I be doing here
Thank
Leo
Thank
Leo
* =?Utf-8?B?TGVvbi5LZW1w?= said:In previous versions of VB, changing a string of numerals to a number
was easy. Val and convert.todecimal both change 32.75 to 32. What
should I be doing here?
* =?Utf-8?B?TGVvbi5LZW1w?= said:What I meant was that in VB6 there was no issue.
In .Net, I have tried Convert.ToDecimal and Val to convert a text
value to Decimal, rior to writing to anAccess database. Both of these
give me a truncated value of 32 for an original value of 32.75.