numberformat2

  1. 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...
  2. 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...
  3. 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