06-24-2025, 10:38 AM
Hi
the demo has the goal to use textboxes as string containers and transform the strings to make calculations.
here a screenshot
![[Image: Percentage-Calculation-with-Text-Boxes.jpg]](https://i.ibb.co/TBWRRmY4/Percentage-Calculation-with-Text-Boxes.jpg)
user help:
1. type the price in the price textbox (the first from the top)
2. type the Discount Percentuage in the Discount Percentage textbox (the second from the top)
3. click on the Calculation button to get the Effective Discount amount showed in the third textbox from the top
and the Final Discounted Price showed in the forth textbox from the top.
4. click on Reset to cancel previous data
5. click on Language button (the first from the left) to localize application to English or Italian
Installation help:
1. download the compressed file attached here the .7z code
Discount.7z (Size: 2.06 KB / Downloads: 91)
2. download InformPe and install it, or if you haven't time to spend download the Inform packaged libraries from this other thread at the bottom of the first post of the thread you find the attached Informpe Libraries
3. load Discount.bas into QB64pe IDE and compile with F5 or by menu.
the demo has the goal to use textboxes as string containers and transform the strings to make calculations.
here a screenshot
![[Image: Percentage-Calculation-with-Text-Boxes.jpg]](https://i.ibb.co/TBWRRmY4/Percentage-Calculation-with-Text-Boxes.jpg)
user help:
1. type the price in the price textbox (the first from the top)
2. type the Discount Percentuage in the Discount Percentage textbox (the second from the top)
3. click on the Calculation button to get the Effective Discount amount showed in the third textbox from the top
and the Final Discounted Price showed in the forth textbox from the top.
4. click on Reset to cancel previous data
5. click on Language button (the first from the left) to localize application to English or Italian
Installation help:
1. download the compressed file attached here the .7z code
Discount.7z (Size: 2.06 KB / Downloads: 91)
2. download InformPe and install it, or if you haven't time to spend download the Inform packaged libraries from this other thread at the bottom of the first post of the thread you find the attached Informpe Libraries
3. load Discount.bas into QB64pe IDE and compile with F5 or by menu.

