Alexander Stolte Expert Licensed User Longtime User Jan 29, 2021 #1 Hey, if i put 9000000000 to a double value then the output is 9.0E9 and with the B4XFormatter is the result "OVERFLOW". How can i prevent it or handle it?
Hey, if i put 9000000000 to a double value then the output is 9.0E9 and with the B4XFormatter is the result "OVERFLOW". How can i prevent it or handle it?
Solution Semen Matusovskiy Feb 1, 2021 I changed names (B4xFornatter to B4xFornatter2, B4XFormatData to B4XFormatData2) At least, 9000000000 output correctly
I changed names (B4xFornatter to B4xFornatter2, B4XFormatData to B4XFormatData2) At least, 9000000000 output correctly
Semen Matusovskiy Well-Known Member Licensed User Jan 30, 2021 #2 B4XFormatter.Bas uses 32-bit signed integers (Int), unlke it's possible to use 64-bit signed integers (Long). If to have a wish, it's possible to reconstruct a code during some minutes (less than 200 statements). Upvote 0
B4XFormatter.Bas uses 32-bit signed integers (Int), unlke it's possible to use 64-bit signed integers (Long). If to have a wish, it's possible to reconstruct a code during some minutes (less than 200 statements).
Erel B4X founder Staff member Licensed User Longtime User Jan 31, 2021 #3 Semen Matusovskiy said: If to have a wish, it's possible to reconstruct a code during some minutes Click to expand... Not true at all. Building a generic custom formatter is not simple at all. It is true that it might be not too difficult to modify B4XFormatter code to and extend the limit. Upvote 0
Semen Matusovskiy said: If to have a wish, it's possible to reconstruct a code during some minutes Click to expand... Not true at all. Building a generic custom formatter is not simple at all. It is true that it might be not too difficult to modify B4XFormatter code to and extend the limit.
Semen Matusovskiy Well-Known Member Licensed User Feb 1, 2021 #4 I changed names (B4xFornatter to B4xFornatter2, B4XFormatData to B4XFormatData2) At least, 9000000000 output correctly Attachments B4XFormatter2.b4xlib B4XFormatter2.b4xlib 2.2 KB · Views: 436 Upvote 0 Solution
I changed names (B4xFornatter to B4xFornatter2, B4XFormatData to B4XFormatData2) At least, 9000000000 output correctly