Re: This calculation is just wrong / computer can't count!

Tech-Archive recommends: Speed Up your PC by fixing your registry



I don't think this will work.

When the results that were calculated on paper are sent back, the app has to store them somewhere.

Say, if the result was 0.8(3), and the receiver on the other end types it in, the app will still store it as 0.8333333....33337!!! That of course if the original requirement is still in place, to use doubles.


"BobF" <rNfOrSePeAzMe@xxxxxxxxxxx> wrote in message news:uMS1aupCIHA.5976@xxxxxxxxxxxxxxxxxxxxxxx

Another option is to add email handling to your app. When it's time to do a calculation, have the app email values in the variables to you. Do the math with pencil/paper and send the results back to your app via email reply. Problem solved!!


.



Relevant Pages

  • A good way to store data/values? (vb.net, compact framework)
    ... I need to store type, date, description, and total for each ... effectively use xml as an ini replacement. ... What bothers me is that the answer is rite there in that example app ... my history table, not to mention store a balance total and all the ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Threading question
    ... A program has a main execution thread, ... You go to the store to buy something. ... > In my real app I'm crunching numbers (entirely in C#, ... > "Kevin Spencer" wrote in message ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Time Machine Troubles
    ... store Mac applications. ... And quite a few people use such volumes to store data. ... The security hole in the app is exploited. ... Though this is, admittedly, mostly because Windows users ...
    (comp.sys.mac.advocacy)
  • Re: Threading question
    ... Your app will respond in almost exactly the same time as ... > A program has a main execution thread, ... You send your wife to the store to buy something. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Software activation codes and storage, your thoughts please
    ... This is the only thing that one could guarantee would work on windows 98. ... > I have an app that I want to have activation codes for, it has plugin dll> files each of which have an activation code as well. ... > I could create a GUID the first time I start the app, this would be stored> in the registry, when validating codes I would read this value from the> registry, check it and activate the software if all is OK. ... > BUT, I hear that the use of the registry is not a great idea any more,> Microsoft recommends XML files, I must store this value outside of the> apps directory in case the user simply copies the entire directory to a> new PC and all would work, maybe I could store it in Windows directory in> a .cfg file or something. ...
    (microsoft.public.dotnet.languages.csharp)