Skip to content

Comma delimeter formatting gives invalid *.ods spreadsheet number #5940

@Netrieb

Description

@Netrieb

Formatting formula number({{value}}, ",") to set a custom decimal delimiter in Bonsai's Spreadsheet Export (*.ods) gives a number unusable in Libre Office Calc (the number is not treated as a number, for example you cannot use it for SUM operation...).

Export Settings:
Screenshot_20250107_160341

The exported *.ods file:
test_01.ods

Additional info:

  • there is no issue when I use number(12345, ",") instead of the number({{value}}, ",")
  • if you change a locale in Libre Office to Czech or German, the very same *.ods file shows an extra single quote character:
    Screenshot_20250107_163958
    How to change the locale in Libre Office:
    locale_LO

Tested on:

  • bonsai_py311-0.8.1-alpha250103-linux-x64
  • stable version bonsai 0.8 was also affected
  • Blender 4.3.2
  • Kubuntu 24.04
  • Libre Office 24.2.7.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions