For accurate mathematical calculations and everyday calculations like money and weight.
Use integer calcs. Do the calc, shift the decimal to the position to make it an integer.
Save that to the database or memory and shift the decimal for later recovery and display.
Using integer calcs means adding ...
Search found 175 matches
- Fri Sep 06, 2024 9:00 am
- Forum: Coding Questions
- Topic: Decimal point problem (was: Very noob doubt is driving me crazy)
- Replies: 18
- Views: 4388
- Wed May 29, 2024 8:18 am
- Forum: Coding Questions
- Topic: after doing a DatabaseUpdate program shuts down
- Replies: 11
- Views: 2625
Re: after doing a DatabaseUpdate program shuts down
I've said it before and I will say it again.
If you are developing a database application then use a database language designed specifically for the job and this sort of issue will not occur.
MS-Access is a sound RAD that will allow you to create applications as indicated by its name - Rapidly ...
If you are developing a database application then use a database language designed specifically for the job and this sort of issue will not occur.
MS-Access is a sound RAD that will allow you to create applications as indicated by its name - Rapidly ...
- Sat Nov 11, 2023 5:35 pm
- Forum: Off Topic
- Topic: Stay Safe Out There
- Replies: 6
- Views: 1613
Stay Safe Out There
Apparently scammers have infiltrated Google’s security to place fake adverts for Notepad++ in its search results. Malwarebytes the scam adverts have been online for months. It is thought by clicking them leads to your PC being infected by ransomware.
The adverts all appear under Google’s sponsored ...
The adverts all appear under Google’s sponsored ...
- Fri Nov 10, 2023 8:45 am
- Forum: General Discussion
- Topic: Forum Notes On MemPad
- Replies: 0
- Views: 784
Forum Notes On MemPad
Hello PB_ALL
As most PB users will know sometimes searching for something before posting can be a just little frustrating.
When I was more involved in PB as I came across posts that I thought would be useful or covering something I hadn't come across before I would save the details into a MemPad ...
As most PB users will know sometimes searching for something before posting can be a just little frustrating.
When I was more involved in PB as I came across posts that I thought would be useful or covering something I hadn't come across before I would save the details into a MemPad ...
- Thu Nov 09, 2023 3:34 pm
- Forum: Raspberry PI
- Topic: Raspberry Pi OS 64 Bit
- Replies: 10
- Views: 10430
Re: Raspberry Pi OS 64 Bit
As an update on my situation, I've abandoned the idea of Purebasic on the Raspberry Pi4 in Debian
I’ve created a Windows11 Pro bootable USB and installed a compiled copy of my Access version of the application. It runs fine on the RPi4 with no speed issues whatsoever. THe PureBasic Windows version ...
I’ve created a Windows11 Pro bootable USB and installed a compiled copy of my Access version of the application. It runs fine on the RPi4 with no speed issues whatsoever. THe PureBasic Windows version ...
- Mon Nov 06, 2023 4:52 pm
- Forum: Linux
- Topic: Install on Chromebook
- Replies: 6
- Views: 1937
Re: Install on Chromebook
Thanks for that deeproot.
I was thinking similar to that and sticking with the installed Debian11 which loads in a virtual window. I don't want to remove Chrome and replace it with Linux. I tend to think that if Linux 64bit needs 2GHz then 1.1GHz won't be so good. Out of interest it is an Intel ...
I was thinking similar to that and sticking with the installed Debian11 which loads in a virtual window. I don't want to remove Chrome and replace it with Linux. I tend to think that if Linux 64bit needs 2GHz then 1.1GHz won't be so good. Out of interest it is an Intel ...
- Mon Nov 06, 2023 9:18 am
- Forum: Linux
- Topic: Install on Chromebook
- Replies: 6
- Views: 1937
Install on Chromebook
@PBAll
My 64bit Chromebook has Debian 11 bullseye installed.
Would you advise the PureBasic install to be Debian 32 or should I install Linux Ubuntu 20.04.3 and then the PB Ubuntu version?
I'm a bit doubtful about installing Linux Ubuntu 20.04 as it requires a processor of 2Ghz or better and the ...
My 64bit Chromebook has Debian 11 bullseye installed.
Would you advise the PureBasic install to be Debian 32 or should I install Linux Ubuntu 20.04.3 and then the PB Ubuntu version?
I'm a bit doubtful about installing Linux Ubuntu 20.04 as it requires a processor of 2Ghz or better and the ...
- Fri Oct 27, 2023 5:30 pm
- Forum: Raspberry PI
- Topic: Raspberry Pi OS 64 Bit
- Replies: 10
- Views: 10430
Re: Raspberry Pi OS 64 Bit
Many thanks for your posts mk-soft. I'll take a look through those but can't say I really know what I'm doing.
The error I was getting was a mystery. The program is only about 4,450 lines but has been in daily use in Windows for a couple of years without any problems. I fixed the image issue by ...
The error I was getting was a mystery. The program is only about 4,450 lines but has been in daily use in Windows for a couple of years without any problems. I fixed the image issue by ...
- Mon Oct 23, 2023 6:13 pm
- Forum: Linux
- Topic: Recommended File Explorer & Text Editor for Debian
- Replies: 3
- Views: 1860
Recommended File Explorer & Text Editor for Debian
I'm looking for a decent File Manager/Explorer for use on Linux Debian and also a Text Editor. On the Text Editor it would be helpful if it showed the column position as well as the line number. A File Explorer close to Windows Explorer would be good. It's a waste of time looking online because all ...
- Mon Oct 23, 2023 6:03 pm
- Forum: Raspberry PI
- Topic: Raspberry Pi OS 64 Bit
- Replies: 10
- Views: 10430
Re: Raspberry Pi OS 64 Bit
@mk-soft you were correct. PureBasic did install Ok onto the Raspberry Pi4 16Bit by following your routine that is included in the package.
I've created a new project and pulled in a program and it's database from Windows 10Pror. However, it fails on a line where I'm loading image files.
It loads ...
I've created a new project and pulled in a program and it's database from Windows 10Pror. However, it fails on a line where I'm loading image files.
It loads ...
- Sat Oct 21, 2023 4:15 pm
- Forum: Raspberry PI
- Topic: Raspberry Pi OS 64 Bit
- Replies: 10
- Views: 10430
Raspberry Pi OS 64 Bit
The 64 bit version of the Raspberry Pi OS is now available for download.
Release date was on the 10th Of October but will only go on the Pi4 series. Seems Ok and meant I could install the Brave browser, which I did but cannot get Tor to work but it will no doubt be fixed. All I need to do now is to ...
Release date was on the 10th Of October but will only go on the Pi4 series. Seems Ok and meant I could install the Brave browser, which I did but cannot get Tor to work but it will no doubt be fixed. All I need to do now is to ...
- Sat Jul 29, 2023 6:41 am
- Forum: General Discussion
- Topic: Change Tab Colours in Projects
- Replies: 3
- Views: 906
Re: Change Tab Colours in Projects
A little related to this. I thought I'd just mention about colours and colour blindness, which may help some people.
For years I popped up error messages, or drew attention to something using red and white. Then I was told that colour blindness gives problems with reds and greens. Colour blindness ...
For years I popped up error messages, or drew attention to something using red and white. Then I was told that colour blindness gives problems with reds and greens. Colour blindness ...
- Fri Jul 28, 2023 6:42 pm
- Forum: General Discussion
- Topic: Change Tab Colours in Projects
- Replies: 3
- Views: 906
Re: Change Tab Colours in Projects
Thanks again Spikey.
I'll not attempt that. Hopefully the NHS will sort the glaucoma out but not holding my breath. Last appointment 2019 so I'm thinking it will be another three years atg least. Never mind.
I'll not attempt that. Hopefully the NHS will sort the glaucoma out but not holding my breath. Last appointment 2019 so I'm thinking it will be another three years atg least. Never mind.
- Fri Jul 28, 2023 5:32 pm
- Forum: General Discussion
- Topic: Change Tab Colours in Projects
- Replies: 3
- Views: 906
Change Tab Colours in Projects
Hello PB_All,
Is there a way to change the back colour to the Program Tabs in Projects?
On my 6.02 they are black on a dark blue, which I find impossible to read.
If I have 7 or 8 up I just cannot see which is which without leaning almost over the desk up to the screen
Is there a way to change the back colour to the Program Tabs in Projects?
On my 6.02 they are black on a dark blue, which I find impossible to read.
If I have 7 or 8 up I just cannot see which is which without leaning almost over the desk up to the screen
- Thu Jul 27, 2023 2:03 pm
- Forum: Coding Questions
- Topic: Search Every Program in a Project
- Replies: 14
- Views: 1961
Re: Search Every Program in a Project
Correct Tenaja! I've altered it now.
I didn't notice that before I clicked [Submit]. MInd you not often you type Kb these days. Well unless you're talking about a PureBasic program of course, then they are all in Kbs. But never with most other stuff.
I didn't notice that before I clicked [Submit]. MInd you not often you type Kb these days. Well unless you're talking about a PureBasic program of course, then they are all in Kbs. But never with most other stuff.