06-29-2022, 04:25 PM
|
VB5 - Decimal places are missing
|
|
06-29-2022, 04:27 PM
Are you using a numerical text box with decimal set in properties?
Probably not because I see Print Using and template... I am assuming there are Numerical Text Boxes because Fellippe has them in InForm. It's too long since I worked with VB for Dos to remember anything about Numerical text boxes for older version than VB5 but seems to me a likely control to have in VB early on.
724 855 599 923 575 468 400 206 147 564 878 823 652 556 bxor cross forever
06-29-2022, 07:53 PM
(06-29-2022, 05:29 PM)bplus Wrote: Are you using a numerical text box with decimal set in properties? Yes, it are text fields. There's something wrong with it, or it's jinxed. ![]() The small sample program "Mehrwertsteuer" works again, the results are absolutely correct. PS: This is an English version of VB5. Entries have to be with a dot "." I need something to relax now: Miss Monique
06-30-2022, 01:25 PM
Now I found the mistake.
Gemeinkosten = Val (Fertigungskosten * 8) / 100 Correct is: Gemeinkosten = (Fertigungskosten * 8) / 100
06-30-2022, 01:37 PM
Aha! and Miss Monique link pretty nice too.
724 855 599 923 575 468 400 206 147 564 878 823 652 556 bxor cross forever
|
|
« Next Oldest | Next Newest »
|
| Possibly Related Threads… | |||||
| Thread | Author | Replies | Views | Last Post | |
| I must be missing something obvious with this code | Dav | 8 | 1,456 |
09-16-2024, 07:47 PM Last Post: Pete |
|
| Color picker bug or just something I'm missing | OldMoses | 8 | 1,701 |
08-10-2023, 01:28 AM Last Post: OldMoses |
|
| Any math experts know what I'm missing here? [Solved] | Pete | 24 | 4,093 |
09-26-2022, 07:00 PM Last Post: Kernelpanic |
|
| What am I missing here? | TerryRitchie | 5 | 1,269 |
09-09-2022, 06:54 PM Last Post: bplus |
|
Users browsing this thread: 1 Guest(s)


![[Image: Angebot-VB5-Nachkomma-Fehlt.jpg]](https://i.ibb.co/0ZKXQYH/Angebot-VB5-Nachkomma-Fehlt.jpg)
![[Image: KW-PS-Nachkomma-korrekt.jpg]](https://i.ibb.co/RNkDM3v/KW-PS-Nachkomma-korrekt.jpg)

![[Image: Mehrwertsteuer-Korrekt.jpg]](https://i.ibb.co/2jtZHhh/Mehrwertsteuer-Korrekt.jpg)