I’m afraid that Tinderbox actions require “.” as the decimal separator.
Tinderbox inherits this from programming languages such as C, Javascript, LISP, Smalltalk, FORTRAN and ALGOL. This is, I know, a nuisance for everyone accustomed to a different conventions (and, of course, people who use Thai or Burmese numerals).
It’s not simple to support commas as decimal separators because many of these languages (all save Smalltalk and LISP) use commas to separate arguments passed to an operator: ang=atan2(y,x). Tinderbox actions do this too, and so there would be no way to know whether fun(1,5) has one argument or two, unless the delimiter of function parameters was also changed.
Soulver (and also, I presume, CalcBot) don’t need multiple-argument operators, and so can be more lenient in localizing numbers.
Note that the .format() operator in Tinderbox can convert numbers into localized strings, inserting both decimal and thousands separators consistent with the current locale.
As 0 is also the atrribute’s default value, I first thought that after merely deleting the old calculation’s result the new calculation doesn’t yield any result. But I double checked it now by manually setting the value to 2. After running the quoted code the value is 0, so the calculation fails over here.
Already tried that before I created the thread but that doesn’t work.