02-17-2024, 07:44 PM
(This post was last modified: 02-17-2024, 07:47 PM by Kernelpanic.)
@a740g - Thanks, it works now.
So there has to be "Control" in front of it (in VB it's "Val"). Well. Then I tried for a while to format the output to two decimal places, but I didn't succeed. I tried everything I could think of, no success. The attempts a la QB64 and VB all failed. Is there another “how to” involved like with Control?
PS: Aligning input and output to the right doesn't work, it's grayed out.
![[Image: Nachkommastellen2024-02-17.jpg]](https://i.ibb.co/wd83dFj/Nachkommastellen2024-02-17.jpg)
The thing with control should go into the wiki; it's so easy to say. Oh yes, why is it called "TB" and not "LB": Control(EinkaufspreisTB).Value? Questions about questions.
So there has to be "Control" in front of it (in VB it's "Val"). Well. Then I tried for a while to format the output to two decimal places, but I didn't succeed. I tried everything I could think of, no success. The attempts a la QB64 and VB all failed. Is there another “how to” involved like with Control?
PS: Aligning input and output to the right doesn't work, it's grayed out.
![[Image: Nachkommastellen2024-02-17.jpg]](https://i.ibb.co/wd83dFj/Nachkommastellen2024-02-17.jpg)
The thing with control should go into the wiki; it's so easy to say. Oh yes, why is it called "TB" and not "LB": Control(EinkaufspreisTB).Value? Questions about questions.
![Big Grin Big Grin](https://qb64phoenix.com/forum/images/smilies/biggrin.png)