B4A Library [B4X] B4XFormatter - Advanced number formatter - Erel    
May 21, 2023   
(38 reactions)   
tags: B4X Advanced number forma, Number Format, FormsB4XFormatter is an alternative to NumberFormat / NumberFormat2 keywords. It is implemented in B4X and it is cross platform.
There are two types in the library:
B4XFormatter - The main class...
link: V1.04 - Fixes issue with B4J non-ui projects....
link: Done.
V1.03 - Adds support for B4J non-ui projects....
link: May i suggest adding a NON UI version.....
B4A Question B4XFormatter avoid scientific notation - RB Smissaert    
Feb 6, 2025 it with B4XFormatter.
This is code to get the average value of a group and count map:
Sub... As Long
Dim Formatter As B4XFormatter 'use this rather than NumberFormat2 to make...
link:
Dim lSum As Double = 11499228087
Dim lItems As Double = 175
Log(NumberFormat2(lSum / lItems, 0, 1,...
link:
Dim lSum As Double = 11499228087
Dim lItems As Double = 175
Log(NumberFormat2(lSum / lItems, 0, 1, ...
link:
What is the output of:
Log(lSum)
Log(lItems)
Log(Enums.iAvgRoundingGroupAndCount)
11499228087
175...
B4A Question B4XFormatter Library and MaskedEditText Library - Olaan    
Nov 6, 2023Refer to MaskEditText Example, Is there way to use B4XFormatter instead of MasedEditText?...
link:
B4XFormatter takes a number and returns a string. It isn't a view.
Yes,Sir. The present,we...
link: B4XFormatter takes a number and returns a string. It isn't a view....
B4J Question B4XFormatter Error - aaronk    
May 20, 2023Hi,
I am using the B4XFormatter with B4J as an non-UI app.
B4J Version: 9.80
Lib Version: 1.03... formatter As B4XFormatter
End Sub
Sub AppStart (Args() As String)
formatter.Initialize...
link:
Fixed in v1.04
1.04 fixed the issue. Thank you!...
link: Fixed in v1.04: https://www.b4x.com/android/forum/threads/b4x-b4xformatter-advanced-number...
link: Looks like it wants JavaFX
Caused by: java.lang.ClassNotFoundException: javafx.scene.Node...
Wish Thousands separator B4XFormatter - angel_    
Mar 2, 2022I would like to have a thousand separator in B4XFormatter.
If now I put:
formatter.GetDefaultFormat.DecimalPoint = ","
It looks like this:
126248
I should be able to change...
link: https://www.b4x.com/android/forum/threads/formattare-con-separat-migliaia-e-virgola-decimali-modo-it...
link: see post various formats
https://www.b4x.com/android/forum/threads/formattare-con-separat-migliaia-e...
link: Maybe you need set the locale.
https://www.b4x.com/android/forum/threads/specify-thousands-separato...
B4i Question [B4X] B4XFormatter - 9000000000 cause a OVERFLOW how to handle this - Alexander Stolte    
Jan 29, 2021Hey,
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?...
link: I changed names (B4xFornatter to B4xFornatter2, B4XFormatData to B4XFormatData2)
At least...
link: difficult to modify B4XFormatter code to and extend the limit....
link: B4XFormatter.Bas uses 32-bit signed integers (Int), unlke it's possible to use 64-bit signed...
B4A Question GroupingCharacter in B4XFormatter - Cadenzo (first post)    
Oct 11, 2022   
(1 reaction)Sorry, there were some mistakes without testing. Now it is tested. Formatting numbers with free grou...
link: Code for formating numbers with free grouping.
4 0.004 000,000,004 0000 0000 0004
14...
link:
When I look back at old code I can estimate within ±1 drink how much alcohol was behind the algorit...
link: it became apparent that you only needed the one "." and that B4XFormatter was good enough.
Sub...
B4i Question Local build fails, missing B4XFormatter - nwhitfield (first post)    
May 20, 2019Not sure quite what happened, but I deleted the file, quit the IDE, copied it back in, and all was well. There didn't appear to ...
link: all the latest versions so it will be easier.
Make sure that there is no B4XFormatter.xml file in...
link: getting a build failure with the error
ld: library not found for -lB4XFormatter
I'm guessing...
B4A Library [B4X] B4XTable - Cross platform, sortable, searchable, customizable table - Erel    
Sep 21, 2025   
(59 reactions)   
tags: xuiTable, b4xtable, DataGrid, Table, B4X B4XTable (can be changed).
Attached examples show how to set a custom B4XFormatter.
B4XTable.VisibleColumns holds...B4XTable is a paged based table. The UI is made of a horizontal xCLV. The data is stored in an in... use?
1. Add a B4XTable with the designer.
2. Add the columns:
B4XTable1.AddColumn("US County", B4XTable1.COLUMN_TYPE_NUMBERS)
B4XTable1.AddColumn("Name", B4XTable1... = su.LoadCSV2(File.DirAssets, "us_counties.csv", ",", headers)
B4XTable1.SetData...
Beta B4A v12.5 BETA - Erel    
Jun 6, 2023   
(48 reactions) v2.3, RuntimePermissions v1.2, Core v12.5, SimpleMediaManager v1.13, BCTextEngine v1.95, B4XFormatter...-33.148233/
New B4XView.Alpha property and SetAlphaAnimated method. These will also be added to....
B4XLibs modules and files can be overridden. This is done by adding the module or file to the project... #ModuleVisibility attribute. Value can be Public - default visibility, or B4XLib. B4XLib means that the module methods and fields will not be visible once the module is packed as a b4xlib. Note that it is an IDE...
Page: 1  
2  
3  
4  
5  
6  
7