B bocker77 Active Member Licensed User Longtime User Feb 20, 2021 #1 I am using B4XPlusMinus and the returned Value has a decimal point (39.0). I am wanting just the 39 with no .0. I have tried formatting it out with no luck. Do I need to install B4XFormatter to do this or is there a way with B4XPlusMinus? Thanks
I am using B4XPlusMinus and the returned Value has a decimal point (39.0). I am wanting just the 39 with no .0. I have tried formatting it out with no luck. Do I need to install B4XFormatter to do this or is there a way with B4XPlusMinus? Thanks
B bocker77 Active Member Licensed User Longtime User Feb 20, 2021 #2 Never mind I figured it out. Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Feb 21, 2021 #3 1. Moved to the questions forum. 2. You should post the solution. Upvote 0
J jboavida Member Licensed User Longtime User Sep 2, 2021 #4 Hello, I have the same question. Can you post the solution please? Thanks Upvote 0
M Mahares Expert Licensed User Longtime User Sep 2, 2021 #5 jboavida said: I have the same question. Can you post the solution please? Click to expand... It looks like the OP has not been on the forum for a while. You can use these or combinations thereof. B4X: B4XPlusMinus4.Formatter.GetDefaultFormat.MaximumFractions = 0 B4XPlusMinus4.Formatter.GetDefaultFormat.MinimumIntegers = 1 B4XPlusMinus4.Formatter.GetDefaultFormat.MinimumFractions = 0 Upvote 1
jboavida said: I have the same question. Can you post the solution please? Click to expand... It looks like the OP has not been on the forum for a while. You can use these or combinations thereof. B4X: B4XPlusMinus4.Formatter.GetDefaultFormat.MaximumFractions = 0 B4XPlusMinus4.Formatter.GetDefaultFormat.MinimumIntegers = 1 B4XPlusMinus4.Formatter.GetDefaultFormat.MinimumFractions = 0
B bocker77 Active Member Licensed User Longtime User Sep 3, 2021 #6 Sorry I haven't been on the thread for awhile and I should have provided the solution that I found then. Maharas gave the correct solution. Upvote 0
Sorry I haven't been on the thread for awhile and I should have provided the solution that I found then. Maharas gave the correct solution.