We help IT Professionals succeed at work.

using price as a variable how to declare? Would I use int? Do not see currency as a choice

If using price in vb in visual studio what would you assign the variable? I did not see currency listed would I use int? Thanks
Comment
Watch Question

Senior .Net Consultant
Top Expert 2016
Commented:
int is not appropriate unless your prices are always integers.

more appropriate type would be Decimal
Bill PrewTest your restores, not your backups...
Expert of the Year 2019
Top Expert 2016
Commented:
Agree with Decimal.

Further info available at the link below, and if you click on a particular data type you will get further details on that.

Data Type Summary - Visual Basic | Microsoft Docs

»bp