I was trying some different string formats like F2 and D2 on a Double. D2 gives a crash on 26.8.5.
Var Amount As Double = 574748.56
Label1.Text = Amount.ToString("D2")
Error message:
Fatal VM exception: System.FormatException: Format specifier was invalid.
at System.Number.GetFloatingPointMaxDigitsAndPrecision(Char fmt, Int32& preci
sion, NumberFormatInfo info, Boolean& isSignificantDigits) at System.Number.FormatFloat[TNumber,TChar](ValueListBuilder`1& vlb, TNumber
value, ReadOnlySpan`1 format, NumberFormatInfo info) at System.Number.FormatFloat[TNumber](TNumber value, String format, NumberFor
matInfo info) at Objo.StdLib.DoubleMethods.<>c.<Register>b__0_6(VM _, ReadOnlySpan`1 args)
at Objo.VM.VM.Run(Int32 exitAtFp)
at Objo.VM.VM.InvokeMethod(ObjoClosure method, Value receiver, Value[] args,
Boolean allowWhileStopRequested) at Objo.StdLib.Desktop.ControlMethods.CallControlEventHandler(VM vm, ObjoInst
ance eventSource, Value handler, Value[] args) at Objo.StdLib.Desktop.ControlMethods.FireEvent(VM vm, ObjoInstance instance,
String declaringTypeName, String eventName)
ps lots of white space in the text due to strange formatting in error pane