473,326 Members | 1,972 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

missing currency in dotnet

sam
Hello,

I have to make some development in VB.NET for managing money data.

I used tu made these kind of development with currency type when I worked in
VB6 but here in VB.NET, I can't find this type.
So I would like to know if i miss something or if it has been removed from
VB.NET?
If we can't use currency, which type can I use to replace currency and is it
as accurate as currency?

thanks for helping me...

Samuel
Apr 13 '07 #1
2 1604
sam wrote:
I have to make some development in VB.NET for managing money data.

I used tu made these kind of development with currency type when I
worked in VB6 but here in VB.NET, I can't find this type.
So I would like to know if i miss something or if it has been removed
from VB.NET?
If we can't use currency, which type can I use to replace currency
and is it as accurate as currency?
The Decimal type should be suitable.

Andrew
Apr 13 '07 #2
sam
Hello,

thanks for your answer. I will try Decimal type in my developments.

Sam

"Andrew Morton" <ak*@in-press.co.uk.invalida écrit dans le message de
news: eM**************@TK2MSFTNGP06.phx.gbl...
sam wrote:
>I have to make some development in VB.NET for managing money data.

I used tu made these kind of development with currency type when I
worked in VB6 but here in VB.NET, I can't find this type.
So I would like to know if i miss something or if it has been removed
from VB.NET?
If we can't use currency, which type can I use to replace currency
and is it as accurate as currency?

The Decimal type should be suitable.

Andrew

Apr 16 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Willing 2 Learn | last post by:
I'm still having trouble getting my program to do arithmetic in cents(keeping all #'s) then convert the answer in a format of dollars & cents. The main program should add, subtract, scalar...
3
by: Harry Simpson | last post by:
Windows Server 2003 is supposed to include Framework 1.1 right. I don't have it here but have reports that the web is not running. The users say that the %COMPUTERNAME%\ASPNET user doesn't exist....
3
by: Josh | last post by:
I am writing a program where the user inputs currency in US dollars. I want the program to only accept valid currency input, converting the string into the proper type of variable (double?), and...
2
by: C CORDON | last post by:
I am creating a windows Class library Project, but it won't let me declare any var as Currency! Why is this? TIA! :)
2
by: Scott | last post by:
I want to display a decimal as a currency value for instance £65.00 or £58.47, but at the moment the code doesn't seem to work correctly. Can I declare this variable to be shown with 2 decimal...
11
by: Adrian | last post by:
Hi I want to use the following declarations but vb dotnet keeps complaining that currency can't be used because it private ? I have tried it in a module and in the declaration pare same error!...
1
by: Eric | last post by:
I've built a Currency class, more or less like Java's, a Money class to handle rounding and allocation, and a Moneybag that should collect different monies and convert them to a given exchange...
2
by: Smokey Grindel | last post by:
What is a good data type to store 4 digit precision currency in VB.NET? Double? Since it is only 4 digit precision wouldnt have any rounding problems right? thanks!
1
by: =?Utf-8?B?SGlwSG9wcGVy?= | last post by:
Hi, I have a composited control with a Textbox and a Rangevalidator. If I am not mistaken, Rangevalidator should take currency ($) symbol, but I got the validation error when user enter -$100...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.