o
k
q
u
e
s
t
i
o
n
s
.
c
o
m

Hundredth rounding in Euro Conversion -

Using Double variable to store numbers from math formulas, I'm not able to get the correct rounding from national currency to EURO. That is, when the result is, for instance, 37.42500 I should have my variable (formatted with ##0.00) equals to 37.43 . Instead, I get 37.42 that is wrong up to conversion rules defined by international laws.
If the number is 37.43500 I get the correct 37.44 as expected.
Using the same variable defined as Currency I get the correct result.
Does this mean that I cannot rely on variables defined Double to get the correct result (or even to get always the same rounding !)?
Thanks in advance

 

Hundredth rounding in Euro Conversion -
Using Double variable to store numbers from math formulas, I'm not able to get the correct rounding from national currency to EURO. That is, when the result is, for instance, 37.42500 I should have my variable (formatted with ##0.00) equals to 37.43 . Instead, I get 37.42 that is wron


Need a good tip -
I'm looking for a conversion program tip. This is what I have: amount 1 : 1345 count : 6 result amount : 1345 * 6 = 8070 Euro BF : 40.3399 amount2 : 1345 / Euro BF gives : 33,34 total gives : 33.34 * 6 = 200,05 However after conversion I need as result : 200,04 Probl


Web Update -
I am currently working on a hotel reservation system that uses $ US dollar and Euro for prices. I need to find a way that I can update the Euro equivalent so I can use it in the formula of converting from US Dollar to Euro does any one know how can I keep my conversion rate up to dat


And you guys were complaining about the Euro!!! -
You Can't Buy Love, but Euro Brings Cheaper Sex ROME (Reuters) - Those worried about businesses rounding up prices with the arrival of the euro may have to turn to the world's oldest profession for a fair deal, according to Italy's red-light ladies. Rome's women of the night say th


Access Query: Formatting a calculated field -
Hi everyone. I have a calculated field in a query in Access. I need to have it formatted to a currency - Euro to be precise. At the moment I have: Conversion: [Euro]*0.64 And I'm not sure how to format it for Euros. Can anyone help. Ta' Tony Mead


Download Conversion Rates -
Ok..Here is my problem. I want to download the conversion rates between all possible currencies (US $, Euro, Pound...etc). My objective is to create a currency converter. Who can help me in this...I am sure there can be someone..


Short rate EURO-GBP futures -
Currently euro is trading at .71 GBP General trend is slowly up So - if I want to transfer money to GBP should I do so today or wait a week?


VBA: numberformat-problem -
hi all, Im working on a Vba-app. that converts xls-documents into the Euro-currency. I use the worksheets(x).usedrange property to loop true all (used) cells. If the cell contains a currency, i want to calculate it to euro and set the Euro-currency. I dont know how to do this


euro convert -
hello everybody, i whant to convert some currency to euro, but i don't know what to do. I saw some examples but i couldn't get them to work. can anyone show me an simple example to make that convertion. Thank's


What's your take on the Euro -
Wondering what Europeans thought of the Euro? How has it impacted your life? Was it a good idea? Did you know that there was such a thing? Is this thing on?


Any one else getting errors with Euro Date Formats -
This is weird #25/01/02# doesn't work #01/25/02# does. The PC is set to Euro date format, but it doesn't affect the problem...


Printing & displaying EURO sign. -
Ho ! All you budding experts out there. I need a little help on the dreadded Euro sign ? I've discovered the keycode combination as ALT+0+1+2+8 and it displays fine, but it will not print. I am confident this must be a recurring problem ? Any help very much appreciated ! Than


Double to String - how do I stop rounding -
I'm writing a conversion program that requires a fairly high degree of accuracy. I am trying to information about a raster dataset in order to make a header file for an ER Mapper raster. The problem is this, some of the numbers refuse to print out as they actually are. For example: I


[2005] convert decimal to integer without "rounding" -
the title pretty much says it. what i want is the conversion to turn 1.7 into 1 insted of 2


saving data -
hi i created drop down box with a list of currencies ie euro swiss franc etc. on a form. Then a created textboxes where i enter criteria and on another text box it gives me results. When i got to drop down box and change from euro to swiss franc it clears the boxes so i can re enter


keep from rounding -
I have some formulas outputting to a text box. The numbers keep rounding up. How do I stop this?


Rounding Numbers in VB -
are you rounding or just truncating? your example of 100.956 should round to 100.96 not 100.95 serge's code rounds which is not what your example shows


Need help with AnsiToOem -
Hi! I got a funny assignment today, there is an old validation module written in C++ that validates that everty character the user writes in a textbox (MFC) can be converted to Oem (the text database is in Oem codepage) They apperantly use the CString::AnsiToOem() function to va


euro 2004 -
Whos gonna win the euro 2004?


EURO character -
Does any of you know the character code for the EURO symbol?


Euro notes -
I think you will be interested in the new European look to the euro notes.....................


Help: Rounding problem ! -
Hi, I have an application and that give me rare rounding problem. The statement I use to rounding the value x = x + round((w * y), 2) it loop through 4 records, only two record get rounded corrrectly and the other two is not, I have no idea why. Original value Aft


Crystal Sum if Problem -
Hi There, In the report Sales Register I want to display Currency Wise Conitional Summary in the Report Footer. Grouping is performed on Invcoie No. Data goes like this : Invoice No. Curr Amount INV/2001-2002/01 USD 20,000 INV/2001-2002/02 EURO 35,000 INV/2001-2002/03 USD 15,0


help my numbers are rounding off -
i'm doing a order form, they only problem i am having is my output, all the numbers are rounding off instead of showing decimals, here is my code if someone wants to look at it and tell me what i'm dong wrong, thanks.


Rounding Numbers Within A Textbox -
Hi, Im fairly new to vb.NET, The problem I have is that I want to round a number down instead of it being rounded up. I want to round 10.389 to 10.38 instead of it rounding to 10.39, is this possible? thanks in advance.


C++ automatically rounding off values -
how to resolve the case of c++ rounding off values, for example: cos(6.2832) i get 1 instead of .99999 and 0.1 being only 0... what should i do


Problems with InStr() function -
Hi, I'm having quite an annoying problem with using InStr. I want to split up a string sent back from a game server. I have a string that I want to split up Here is the string... rvnshld 7777 KEYWORD ¶P1 7777 ¶E1 GeheimesTerroristenLager ¶I1 Minutemen Euro HQ ¶F1 14 ¶


Euro and Europe -
In a following vein, (http://www.vbforums.com/showthread.p...hreadid=177880) you guys that use the EURO, what has been the primary effect? Good, Bad, indifferent?


stop rounding up -
I have some formulas outputting to a text box. The numbers keep rounding up. How do I stop this?


Silly question (Rounding) -
Have searched as always but it appears all the rounding done if for numbers like 10.34354 etc I need to round off to the nearest 10 but not least, example 10 would stay as 10 11 would be 20 3 would be 10 22 would be 30 Thanks in advance


Formatting for different Currencies - Access 2000 -
Hi. I have a query with a calculated field that I want to conditionally format for 2 different currencies (Euro and Cyprus£), the problem is I don't know how to get the euro or cyp£ to show. Currently I have: ConvertedPrice: Format([Price],"Standard",2) This ret


Round function Question -
Dear all, I have a question about round function in VB. General Speaking, the round function is quite simple: round(10.123567,3) will return 10.124 which I believe it is using half-adjust rounding method. But right now, I need to have a rounding method function to help me rou


Rounding Problem -
Im using Visual Basic 6 and access 97 When i put a value in the textbox, for exemple 0.5 when writes this value in the database table apears 0. I think its a rounding problem, how can i solve this problem? Thanks in advance!


Problem with rounding a number! -
In real life, When we try to round a number, let say 3.825, up to 2 decimal points, the answer is 3.83, right? Unfortunately in VB .NET, the "Math.Round" method & "Decimal.Round" method, round number like this (Read the remarks I quote from the Help file m


XML to HTML/RTF conversion -
Can anyone help me in conversion of data in XML to HTML and RTF format. I have done the conversion from XML to excel but have no clue about how to proceed for HTML and RTF conversion.


English to Hindi/Marathi (Indian Languages) Conversion -
Hello I am working on project for my class, where i have to convert the text typed in english to hindi & marathi. The question is will there be a need to do this conversion within VB or will it be taken care of internally ? Will ASCII conversion work? or i need to use ISCI


No more Irish Jokes!! -
Fake euro found in Ireland Irish counterfeiters have brought themselves undone by not being able to spell euro. A "eur" coin was handed over in a shop in Castleblayney at the weekend and is believed to be the first forged coin of the new currency found in Ireland. As


cell rounding of value automatically -
Hello i am working on this worksheet, and it is rounding off the value in certain cells automatically. e.g. if i have a value 2.98 in cell c3 and i make the value of the cell in question say c56 =c3 it gives a value of 3 actually i discovered that the cell does not like any fr


Easy date/time rounding Q. ***RESOLVED*** -
Hi I'm trying to find the most efficient way of rounding time values to the nearest hour. Eg "19:41:00" should read "20:00:00" Any pointers anyone? Thanks in advance.


Rounding numbers to 2 decimal places - how to (Rounding) -
I am returning math to a variable (and/or a text box) BUT I only want to have two or three decimal places, that are rounded off. I cant figure out how to round them. I've tried setting text box properties, calling 'as currency' but I dont know what else to do. Thank you.