B4R Question B4R NumberFormat string buffer overwrite or out-of-bounds? - emexes    Aug 13, 2019 I used NumberFormat. I have tried this code on two different ESP32 modules:
Private Sub AppStart... 10000
Serial1.Stream.WriteBytes(B1, 0, B1.Length)
Log( NumberFormat... B4J Question [BANano] [SOLVED] Incorrect Math / NumberFormat Result - Mashiane    May 21, 2025 = fullYear - 100
End If
Return NumberFormat(fullYear,4,0) & "-" & NumberFormat(mm,2,0) & "-" & NumberFormat(dd,2,0)
End Sub
This is returning an error when using a 13 digit number "7304150000000", its supposed to be 1973-04-15.
202,473-04-15]... Bug? [SOLVED] Numberformat Output Wrong Value - rwblinn    Jun 3, 2025 See Port #3.
Found a possible bug in NumberFormat.
Converting the ULong value 20250531 using NumberFormat(value, 0, 0) results in 20250532 instead 20250531?
So for this specific value 20250531... Bug? Bug when converting NumberFormat2 to Double - Filippo    Dec 20, 2024 .
Log("NumberFormat2=" & NumberFormat2(-0.0120000000000009, 1, 1, 1, False))
Dim dbl As Double = NumberFormat2(-0.0120000000000009, 1, 1, 1, False)
Log("dbl=" & dbl... B4A Question NumberFormat, is this an bug? - Filippo    Sep 21, 2024 ("NumberFormat= " & NumberFormat(dNum * 1000, 0, 0))
Log("NumberFormat2= " & NumberFormat2(dNum * 1000, 0, 0, 0, False))
NumberFormat= 1,800
NumberFormat2= 1800
... B4J Question NumberFormat issue or BUG? - Cableguy    Mar 16, 2016 I have the following code: mValue = NumberFormat2(TextField1.Text + StepValue, 1, mDecimals, mDecimals, False) where mValue is Double, StepValue and mDecimals are integers defined in the designer... Given a mDecimals of value 2, shouldn't this code convert a number like 1.1 to a string like "1.10"?? I ask because all I get is the same decimal places as the mathematical value (i.e 1 + 0.1 = 1.1) , no mater how I format the number Seems like using NumberFormat on a variable... B4A Question Rounding Numbers: Round2 or Numberformat2 - Roger Daley    Nov 11, 2014   (1 reaction) This is an answer to a question raised in my mind by a comment from Erel, that I should not use Round2 but use Numberformat2 for rounding numbers. Most of us are taught that for digits below 5, round down, for 5 and greater round up. IE 4.725 to 2 decimal places gives 4.73. This is the result given by Round2. Numberformat2 gives the result 4.72 after a bit of research I found... places is 4.72. 4.735 to 2 decimal places is 4.74. Numberformat2 gives these results. This link... B4A Question problem with NumberFormat with Android 11 - Lello1964    Jun 16, 2021 (NumberFormat(a,0,4) )
Android 9 :
result = 0
Android 11 :
result = .0
why there is . before 0 ?
Someone have some problem, how solve ?
other example
Dim a As Int =12
Log(NumberFormat(a,0,4... Italian Bug su Andorid 11- numberFormat - Lello1964    Jun 16, 2021 Ho riscontrato un problema serio su Android 11.
Esempio su Android 9
Dim a As Int =0
Log(NumberFormat(a,0,4) )
risultato : 0
su Android 11
risultato .0
un disastro
avete una soluzione... Bug? Numberformat2 decimal places - Andrew (Digitwell)    Nov 3, 2020 As Double = 1000
private s as string = NumberFormat2(n,0,2,0,False)
log(s)
... Page: 1   2   3   4   5   |