numberformat2

  1. R

    Android Question B4XFormatter avoid scientific notation

    In the process of converting from B4A to B4X. As I understand it it is best to avoid using NumberFormat2. No I need to show the average of a range of integer numbers and don't want to show scientific notation eg: Avg: 1.60018275E7. I can do this fine with NumberFormat2, but not sure how to do it...
  2. C

    B4J Question [BANano]NumberFormat2 gives a different behavior in BANano than in B4J

    Hi, It says that NumberFormat and NumberFormat2 is supported in BANano but I get a different behavior than in B4J. If I use: NumberFormat2(314.159265359, 1, 2, 0, False)) In B4J I get what I want: 314.16 In BANano I only get (wrong) 314 If I change MinimumFractions to 2 then I get (this is...
  3. T

    Android Question NumberFormat2 difference in B4A 7.3 and 8.0

    Hi, the following code: Dim joBA As JavaObject joBA.InitializeStatic("anywheresoftware.b4a.BA") Dim joNF As JavaObject joNF.InitializeStatic("java.text.NumberFormat") Dim ref As Reflector ref.Target = ref.CreateObject2("java.util.Locale", Array As Object("sl"), Array As...
  4. T

    Bug? NumberFormat2 does not take into account locale in B4A 8.0

    Hi, after upgrade to B4A 8.0, NumberFormat2 doesn't take into account locale number format. Dim joBA As JavaObject joBA.InitializeStatic("anywheresoftware.b4a.BA") Dim joNF As JavaObject joNF.InitializeStatic("java.text.NumberFormat") Dim ref As Reflector ref.Target =...
Top