Skip to content

Portability of VeLa code with localised numbers #605

@dbenn

Description

@dbenn

The same code will work in one locale but fail in another, e.g.

x is -4,2

vs

x is -4.2

The idea originally was to allow flexibility via localised numbers.

While continuing to allow this, should we also always translate localised decimal point characters such as , to . internally and apply numeric parsing via the same locale?

See https://forums.aavso.org/t/flux-to-magnitudes/4178/11

Metadata

Metadata

Assignees

Labels

VeLaVStar expression Language

Type

No fields configured for Bug.

Projects

Status

To do

Relationships

None yet

Development

No branches or pull requests

Issue actions