[Implemented] Flags EditorGadget and double float
[Implemented] Flags EditorGadget and double float
I was surprised to see, that in version 3.8 there are no flags for the editorgadget.
Double Float
I thought, it is not necessary to point to, I am really not the first. But until today, it is not possible to develop business application. They need doubles, for financial calculation.
Johannes
Double Float
I thought, it is not necessary to point to, I am really not the first. But until today, it is not possible to develop business application. They need doubles, for financial calculation.
Johannes
Re: Flags EditorGadget and double float
The business applications i made never used floats or doubles in 19 years programming.JoRo wrote:I was surprised to see, that in version 3.8 there are no flags for the editorgadget.
Double Float
I thought, it is not necessary to point to, I am really not the first. But until today, it is not possible to develop business application. They need doubles, for financial calculation.
Johannes
Always worked internaly with cents, and divided by 100 to display results.
This was always more accurate for my usage.
Could be different in your situation of course.
Berikco
-
freedimension
- Enthusiast

- Posts: 613
- Joined: Tue May 06, 2003 2:50 pm
- Location: Germany
- Contact:
Exactly my pointfreedimension wrote:Doubles are more than needed, but not for business applications.
Scientific applications are in bad need of doubles, also some API Calls need or return doubles (Integers mostly).
Berikco
Berikco wrote:Exactly my pointfreedimension wrote:Doubles are more than needed, but not for business applications.
Scientific applications are in bad need of doubles, also some API Calls need or return doubles (Integers mostly).Scientific applications, and some API calls of course, but i did never see a need to use in a financial app.
"Never" is a really strong word here guysRings wrote:and never for industrial appz.....
It all depends on <i>which type</i> of financial or industrial application you're supposed to make.
-Lars
AMD Athlon XP2400, 512 MB RAM, Hercules 3D Prophet 9600 256MB RAM, WinXP
PIII 800MHz, 320 MB RAM, Nvidia Riva Tnt 2 Mach 64 (32MB), WinXP + Linux
17" iMac, 1.8 GHz G5, 512 MB DDR-RAM, 80 GB HD, 64 MB Geforce FX 5200, SuperDrive, OSX
-
freedimension
- Enthusiast

- Posts: 613
- Joined: Tue May 06, 2003 2:50 pm
- Location: Germany
- Contact:
That could be it.. yes!freedimension wrote:An exact and reliable one !?LarsG wrote:It all depends on <i>which type</i> of financial or industrial application you're supposed to make.
-Lars
AMD Athlon XP2400, 512 MB RAM, Hercules 3D Prophet 9600 256MB RAM, WinXP
PIII 800MHz, 320 MB RAM, Nvidia Riva Tnt 2 Mach 64 (32MB), WinXP + Linux
17" iMac, 1.8 GHz G5, 512 MB DDR-RAM, 80 GB HD, 64 MB Geforce FX 5200, SuperDrive, OSX
Not sure, what is the right in english, selling/building houses, facilcity management, financial calculations. I was teacher for this, and my pupils had to buy an pocket calculator with 12 numbers display or more for school, not for business.
Great numbers are reached soon, what are 10.000.000 for a calculation for an area with 50 one-family houses, or the calculation for a fond of an market centrum?
By the way, over the half of the software, which is in use in this market, is not able to calculate right. that means a lot of trouble for the users. The only one I know here in germany with total acceptanz from the tax office is "Datev", some others specialized like "SAP" too.
I really cannot understand, what sens this restriction makes in PB.
I also would like to continue my mathematical work on fractals, espacially the mandelbrotmenge, but not with this floats.
Johannes
Great numbers are reached soon, what are 10.000.000 for a calculation for an area with 50 one-family houses, or the calculation for a fond of an market centrum?
By the way, over the half of the software, which is in use in this market, is not able to calculate right. that means a lot of trouble for the users. The only one I know here in germany with total acceptanz from the tax office is "Datev", some others specialized like "SAP" too.
I really cannot understand, what sens this restriction makes in PB.
I also would like to continue my mathematical work on fractals, espacially the mandelbrotmenge, but not with this floats.
Johannes
My job is to build industrial software (since 1992) and i know all pro's and cons of using floats/doubles in software.if you can avoid the use of floats then do it.Dealing with Longs is the easiest way as Berikco describes.
btw, wishing doubles is also an old post from me in autumm 2001 when i began with PB....., and is already on my wishlist for Scientific appz ....

btw, wishing doubles is also an old post from me in autumm 2001 when i began with PB....., and is already on my wishlist for Scientific appz ....
hehe, teacher sucks everytime ......JoRo wrote:.....I was teacher for this.....
SPAMINATOR NR.1
- Psychophanta
- Always Here

- Posts: 5153
- Joined: Wed Jun 11, 2003 9:33 pm
- Location: Anare
- Contact:
-
Road Runner
- User

- Posts: 48
- Joined: Tue Oct 07, 2003 3:10 pm
Double Precision Float
It was just yesterday when a bootstrap algorithm diverged because of a precision problem of the floats in Purebasic. As a scientist, I would urgently need the double precision floats. 
I don't think anyone is arguing that they're not needed - just that they're not needed for money calculations!
Yes, we do need several variables types not currently in PB!
Yes, we do need several variables types not currently in PB!
-Mitchell
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
May be, you have convinced me, that in financial calculation the way with integers is the better one. Yes, there a less problems.
That does not affect the necessarity of doubles, fo rintergs and floats.
But no one interested in the editorgadget? I have just problems to get a second click recognoized. I have to use the Api GetFocus_ inside my WaitwindowEvent, and then filter out, all the events that can occur. I am not able to set some styles, which are not changeable after creating. The functions for the Editorgadget are stringorientated, but it is typical for an richedit to contain more then 64K text. It needs string independent functions, like those of the Api.
Johannes
That does not affect the necessarity of doubles, fo rintergs and floats.
But no one interested in the editorgadget? I have just problems to get a second click recognoized. I have to use the Api GetFocus_ inside my WaitwindowEvent, and then filter out, all the events that can occur. I am not able to set some styles, which are not changeable after creating. The functions for the Editorgadget are stringorientated, but it is typical for an richedit to contain more then 64K text. It needs string independent functions, like those of the Api.
Johannes


