Skip to content

[Bug]: Math Region settings not being used in input #835

Description

@Bottacco

Describe the bug

When typing quantities to create math expressions with the Spanish region selected doesn't' use the Spanish locale for decimal quantities. In the US you would put 2.50 but in Europe we use 2,50. If I use the coma when entering quantities massCode doesn't recognize them (no result in the right column), but if I use the dot it computes the operation and shows the result in the right with a coma, so it knows that in preferences is selected Spanish region.

To reproduce

  1. Go to ... Math Notebook
  2. Click on ... a notebook and put some decimal numbers but using coma as a separator
  3. Do some math operation with those decimal numbers
  4. See error… no value appears at the right (no result).

App Version and Architecture

massCode 5.6.1 macOS ARM

System info

macOS Tahore 26.5.1 ARM running on Mac mini M4 Pro

Validations

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions